ZeeGrid Control Message

ZGM_SETGRIDBGCOLOR


ZGM_SETGRIDBGCOLOR

An application sends a ZGM_SETGRIDBGCOLOR message to set the grid background color to the specified ZeeGrid color palette entry.

ZGM_SETGRIDBGCOLOR
wParam = (WPARAM)(int) iCPIndex;     //index of the color palette to use for the grid background color
lParam = 0;                          //not used; must be zero

Parameters

iCPIndex
The value of wParam. The index of the color palette.

Return Values

This message does not return a value

Remarks

The grid background color is specifies the color of the grid body that is not occupied by grid cells. This is the area to the right of the rightmost column, and below the last row. This area will not gray when when grid has lost focus if using ZGM_GRAYBGONLOSTFOCUS.

Copyright © 2002-2016 by David Hillard