Jeffrey Diamond wrote:

> Under PACE, when I get the screen address, using
> either address = WinScreenLock, or by using address =
> BmpGetBits(WinGetBitmap(WinGetDisplayWindow())), I get
> pointed to a RAM buffer at $a40000.
>
> I can write to this buffer with no issues, but have
> not found anyway to make this buffer actually appear
> on the real screen.
>

For me both methods work fine.
You should take care when using WinScreenLock.
It returns a pointer to the -not visible- screen (double-buffering) and
this screen will
become 'visible' calling WinScreenUnlock. (after performing your drawing
operations)

Using the WinGetDisplayWindow ... etc.  method works for me always too.

Note: There seems to be a bug in the WinScreenLock function - in 16bpp
mode the returned pointer to
the screen is WRONG.     WinGetDisplayWindow... etc.   returns a correct
pointer.


Carsten.




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

Reply via email to