ZeeGrid Control Message



An application sends a ZGM_SETBACKGROUNDBITMAP message to set a background bitmap for the ZeeGrid. The default background color must be set to color index 17 to make the background of the cells paint with a NULL_BRUSH. The user supplied bitmap is stretched to fit the background area of the ZeeGrid control.

wParam = 0;                       //not used; must be zero
lParam = (LPARAM)hBitmap;         //handle to bitmap


The value of lParam. This is a handle to a bitmap to be used for the ZeeGrid background.

Return Values

This message does not return a value.


The application is responsible for loading the bitmap, and destroying it upon application exit. The bitmap must remain valid for the life of the ZeeGrid using it.

Copyright © 2002-2016 by David Hillard