What are the differences between WinSetDrawWindow and WinSetActiveWindow?

I've read the Reference Guide about the two, but can't figure out a problem 
I've found.

I create an offscreen window, switch to it with WinSetDrawWindow, work with 
it, and then I want switch back to the screen.  I'd like to use 
WinSetDrawWindow with the screen window handle, but if I do, the debug ROM 
crashes on a subsequent call to WinSetForeColor (POSE 3.0a6, Color debug 
ROM, WinNT 4, CW 6).  The non-debug ROM does not produce the crash.

If I instead use WinSetActiveWindow with the screen window handle to do the 
switch, the subsequent call to WinSetForeColor does NOT crash.  This may 
well be my coding problem, but I was wondering if anyone else has seen this 
or has any suggestions?  Might this relate back to the debug ROM DrawWindow 
is NULL problem?

thanks

trib
--------------------------------------------------
David Tribble, Logicon INRI Hawaii
(808) 625 2118 (v)  (808) 625 6315 (f)




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

Reply via email to