I'm trying to create a visible, usable framed window that I can draw 
in using the following code (based on OS 3.0 source and the 3.5 docs):

RectangleType   bounds;
WinHandle       winH;
Err             error;
bounds.topLeft.x        = 2;
bounds.topLeft.y        = 20;
bounds.extent.x         = 140;
bounds.extent.y         = 20;
winH = WinCreateWindow ( &bounds, simpleFrame, false, true, &error );
WinSetDrawWindow ( winH );
WinSetActiveWindow ( winH );

After the last line, the Windows visible attribute is turned off and 
the window is not visible. I suspect I'm doing something really 
stupid. Anyone have any clues? Thanks.

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
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