<< Return to Main Index

< Return to Class Index

CGXGridParam::EnableTrackColWidth

void EnableTrackColWidth(WORD wFlags = GX_TRACK_INDIVIDUAL | GX_TRACK_SMOOTHHEADER | GX_TRACK_NOPRESSEDHEADER | GX_TRACK_NOMARKTRACKLINE);

wFlags

Specifies the options:

Remarks

Specifies the options for or disables changing column widths for the end user.

·If you do not want the end user to be able to change the width of column headers (but all other columns should be sizeable), you should call

   GetParam()->EnableTrackColWidth(GX_TRACK_INDIVIDUAL | GX_TRACK_NOTHEADER);

·If you want to disable tracking the column widths, you should call

   GetParam()->EnableTrackColWidth(FALSE);

·If you do not want smooth resizing, you should call

   GetParam()->EnableTrackColWidth(GX_TRACK_INDIVIDUAL);

See Also

CGXGridParam::IsEnableTrackColWidth CGXGridParam::EnableTrackRowHeight

CGXGridParam

Class Overview | Class Members