CGXGridParam::IsEnableTrackColWidth
BOOL IsEnableTrackColWidth(WORD wFlags = GX_TRACK_INDIVIDUAL | GX_TRACK_ALL);
wFlags
Specifies the options:
- GX_TRACK_ALL specifies that all columns have the same width.
- GX_TRACK_INDIVIDUAL specifies that columns can have different widths.
- GX_TRACK_EXTHITTEST specifies that columns can be tracked by the user not only in the column headers.
- GX_TRACK_NOTHEADER specifies that column headers cannot be tracked.
- GX_TRACK_NOPRESSEDHEADER specifies that headers shall not be drawn pressed while the user is dragging the mouse.
- GX_TRACK_NOMARKTRACKLINE specifies that the grid line for the column which is resized shall not be outlined.
- GX_TRACK_NOINVERTLINE specifies that no line indicating the new column size shall be drawn while the user is dragging the mouse.
- GX_TRACK_SMOOTHHEADER specifies that headers shall be redrawn with the new size while the user is dragging the mouse.
- GX_TRACK_SMOOTHCELLS specifies that the grid shall be redrawn with the new size while the user is dragging the mouse.
Return Value
TRUE if changing the column width by the end user is possible and the specified options are enabled.
See Also
CGXGridParam::EnableTrackColWidth