ZeeGrid Control Message

ZGM_ADJUSTHEADERS


ZGM_ADJUSTHEADERS

An application sends a ZGM_ADJUSTHEADERS message to enable or disable the adding of adjusting pixels to the top of the column headers to cause an integral number of rows to be displayed. If this setting is TRUE (enabled), the adjustment pixels are calculated and place at the top of the column header, to make the column header height make up for a partial row that might be displayed. If this setting is FALSE (disabled), the height that would be added to the column header is placed at the bottom of the grid. This will cause a small blank area to be displayed at the bottom of the grid.

ZGM_ADJUSTHEADERS
wParam = (WPARAM) (BOOL) fEnable;  //enable flag
lParam = 0;                        //not used;set to zero

Parameters

fEnable
Value of wParam. A value of TRUE will place the adjustment height at the top of the column headers. A value of FALSE will place the adjustment height at the bottom of the grid, below the last fully displayable row.

Return Values

This message does not return a value.

Remarks

This setting is TRUE by default.

Copyright © 2002-2016 by David Hillard