On Saturday 19 February 2005 23:29, Luc Le Blanc wrote: > When my app initializes its preferences for the first time, it computes > color indexes based on certain RGB values. By calling WinRGBToIndex, I > am sure to get indexes based on the current screen resolution. This > works fine on real devices, but POSE brings up a fatal alert (with no > Continue button, just Debug and Reset) stating that I called a Win API > before establishing a valid draw window. I'm not drawing anything, just > performing RGB conversions. Should I worry? Since I found no way of > turning off this specific error detection, I should minimaly detect > whether I'm running on POSE and skip that code that prevents any further > debugging.
If you are stuck, you can do this at startup: WinSetDrawWindow(WinGetDisplayWindow()); -- /* Chris Faherty <[EMAIL PROTECTED]> */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
