[ Previous | Table Of Contents

7.18 BOOL pglReleaseFrontBitmap(hab)

BOOL pglReleaseFrontBitmap(hab)

Description:

This subroutine releases the HBITMAP which was grabbed using pglGrabFrontBitmap. The calling process will now begin receiving WM_SIZE and WM_ADJUSTPOSITION messages in its current OpenGL window again.

Parameters:
HAB hab Handle to Anchor Block

Return Values:
BOOL True: Bitmap was released

False: No bitmap needed to be released.

Notes:

See pglWaitPM and pglWaitGL for integrating OpenGL and PM drawing.

Applications should call pglReleaseFrontBitmap as soon as possi- ble after locking the bitmap with pglGrabFrontBitmap. 


[ Previous | Table Of Contents ]