HeaderPane
Main
Hide
Share Link
Print

CrossColumnResize

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);

Parameters

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.

Returns

GetCrossColumnResize returns a value indicating whether multiple columns can be resized.

Comments

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


Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.