GXSetNewGridLineMode
void GXSetNewGridLineMode(BOOL bEnable = TRUE, UINT nStyle = PS_DOT, BOOL bNoHeaderBorders = TRUE);
bEnable
TRUE if new grid line mode shall be standard; FALSE if old grid line mode should be used as default.
nStyle
-
Specifies the default grid line style:
- PS_SOLID Draw solid lines.
- PS_DASH Draw dashed lines.
- PS_DOT Draw dotted lines.
- PS_DASHDOT Draw with alternating dashes and dots.
PS_DASHDOTDOT Draw with alternating dashes and double dots.
bNoHeaderBorders
TRUE if no grid lines shall be drawn between header cells; FALSE if grid lines shall be drawn.
Remarks
Specifies if you want to use the new grid line mode, dotted grid lines, and no grid lines between headers as default for all grids in your application.
Each individual grid in your application can override these default settings.
See CGXGridParam::SetNewGridLineMode for differences between the old and new grid line mode.
See Also
CGXGridParam::SetNewGridLineMode