> From: David Fedor (view other messages by this author) 
> Date: Fri, 3 Mar 2000 12:21:24 
> 
> Instead, switch to the UI colors for a selected item of whatever it is
> you're drawing, and redraw with the right colors.  That's what
> UIColorGetTableEntryIndex() and the UIColorTableEntries enum are for.
> 
> (Using a debug color rom may demonstrate the problem more vividly than a
> release one does, due to the different color choices.)
> 
> -David Fedor
> 
> Palm Developer Support


Does anyone know a suitable replacement for this code:

        WinSetBackColor(UIColorGetTableEntryIndex(selected ?
            UIFieldTextHighlightBackground : 
            UIFieldBackground));

for pre-OS 3.5?

Thanks,
Jason


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to