OK, here's the deal: If you call WinPushDrawState(), then UIPickColor(), you will 
crash a 5.0 machine set to 16 bit color.

On my Zire71, the screen goes white and a pin reset is required (or so I thought). 
Today I tried it on a Tungsten, and I got a fatal alert saying that the operation 
couldn't be performed with the draw state pushed. Trying again on the Zire, I can tap 
where the Reset button should be to reset, but it never shows up.

Unfortunately, I know from experience that UI PickColor leaves the drawing state 
messed up. (see http://www.escribe.com/computing/pcpqa/m19838.html). So I need to 
preserve it.

I haven't been able to find any documentation on this bug, does anybody have a clue 
what the best way to handle it is? Should I save and restore individual state items 
(fore color, back color, etc.) around the call to UIPickColor()?

Thanks for any help,

Dave Johnson


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

Reply via email to