comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Associating color-table with widget application
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Associating color-table with widget application [message #8754] Wed, 23 April 1997 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
The problem is simple: in a widget application, I want the widget to
load its own color-table whenever the cursor is "in" the application,
and load a pre-existing color-table when the cursor is "out" of the
application. Sounds easy right? Please tell me it is...what keyword
did I miss this time?

I tried using tracking events, but you get color-flashing whenever
you leave one widget and enter another, even if you enable tracking
events for ALL widgets. If you enable tracking events for only the
TLB, you lose your colors whenever you move into, say, a slider
widget which adjust a plot which you really need to see in the
correct colors...

Then I saw the KBRD_FOCUS_EVENTS keyword to the WIDGET_BASE()
function, and I thought I was quite clever. But of course you
lose your colors again when, say, you press a slider widget that
adjusts a plot which you really need to see in the correct colors...

This seems so basic. It's easy to do for, say, a draw widget. But
how do you do it for an entire widget heirarchy? RTFM's welcome!

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IUnknown
Next Topic: Empirical Orthogonal Functions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:06:17 PDT 2025

Total time taken to generate the page: 0.00473 seconds