|
|
|
CrossColumnResize |
Defines whether multiple columns can be resized during one column resizing operation.
C
BOOL WINAPI SftTree_GetCrossColumnResize(HWND hwndCtl); void WINAPI SftTree_SetCrossColumnResize(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetCrossColumnResize(HWND hwndCtl); void WINAPI SftTreeSplit_SetCrossColumnResize(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetCrossColumnResize() const; void CSftTree::SetCrossColumnResize(BOOL fSet = TRUE); BOOL CSftTreeSplit::GetCrossColumnResize() const; void CSftTreeSplit::SetCrossColumnResize(BOOL fSet = TRUE);
Parameters
hwndCtl
The window handle of the tree 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.
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