Re: cursor testcase [message #31001 is a reply to message #30921] |
Wed, 29 May 2002 11:11   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ted Cary (tedcary@yahoo.com) writes:
> Thanks for the workaround... and the typo find. Your trick works because
> the base doesn't have /COLUMN or /ROW set, right?
That's right. A base widget without COLUMN or ROW set is
a bulletin board base widget. It's children are stacked
on top of one another.
> I guess a more general
> version of the same technique would be to create a separate unmapped TLB
> with a draw widget.
I'm not sure that is any more general than this. You
can put any two draw widgets in any bulletin board
base. You could even write your own compound widget
that did this, if you wanted to. I guess *that* would
be pretty general. :-)
> Since I know you don't use Macs often, you probably could not see the cursor
> change problem.
No, I leave this up to Pavel. :-)
> The !Window thing wasn't a typo, technically--I rarely ask
> for the index of the current direct graphics window, so I had forgotten that
> it was a field in the !d structure. !Window worked, so I just left it.
> What is !Window, anyway? It seems to be the short integer version of the
> long !d.window, although a quick "? !Window" command does not show any help
> on it.
My Gosh! I think !Window is a throw-back all the way
to IDL 1.0. That was a LONG time ago! But you are right,
it does seem to work. One of those things they kept meaning
to throw out, I guess.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|