>Is there any way to set a custom color palette into the window and still
>get "standard" system colors for menus and dialog boxes?

Well, there's only one active palette, and it is system-wide, not window-based.

You're in complete control of the palette when your app is running.  If you
want to take over the whole thing and have 256 variations on purple, the
system won't get in your way.  But in that case, as you've found, the
"Find" dialog will be in purple too. Ditto for alarms, etc.

If you want to be nice to things like Find, then share: leave some entries
in the palette that correspond to the set UI colors.  You'll nearly always
want to leave black and white in 0 and 255 (or 0 and 15, or whatever).
When you change the palette, the system goes through and figures out what
entry in the palette is the closest to the desired UI colors, I'm nearly
positive.  So if you leave some entries that are what the system wants, or
close, then all will be well.

(I'm on my way out the door for a week's vacation, so I won't be able to
follow up on this thread, but I'm sure that others can...)

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to