Defines whether multiple columns can be resized during one column resizing operation.
C
BOOL WINAPI SftBox_GetCrossColumnResize(HWND hwndCtl); void WINAPI SftBox_SetCrossColumnResize(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetCrossColumnResize() const; void CSftBox::SetCrossColumnResize(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE to allow multiple columns to be resized during one column resizing operation. If set to FALSE, the size of only one column at a time can be affected by the user.
GetCrossColumnResize returns a value indicating whether multiple columns can be resized.
The GetCrossColumnResize and SetCrossColumnResize functions define whether multiple columns can be resized during one column resizing operation.
The setting applies to the column headers of the dropdown portion and of the static portion of the combo box control. The default is FALSE.
SetCrossColumnResize(FALSE) is usually used to prevent a user from making more than one column invisible (by resizing it to a zero width). Otherwise, a user could make several columns invisible by continually resizing the current column.
See Also C/C++ API | Categories | Notifications