I'm calling WinCreateOffscreenWindow in order to do some buffering for text
scrolling.  What I'm wondering is how I can find out how much space is taken
up by a window.  I assume it would have to do with the color depth (as well
as width and height).  Does anyone know how this can be determined?

In my case, I'm attempting to do smooth scroll back of information presented
on the screen.  I wanted to provide around 5 screenfuls, so I called

WinCreateOffscreenWindow(160,800,screenFormat,&err);

This fails in a "not enough memory" sort of way, so I assume that I'm asking
for too much on one call.  I have found that 5 consecutive calls of 160x160
work fine.  I haven't found much in the Palm docs about these sizes.

Thanks,
Rick Reynolds


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

Reply via email to