|
|
|
ResizeHeader |
Defines whether column headers are resizable by the user.
C
BOOL WINAPI SftTree_GetResizeHeader(HWND hwndCtl); void WINAPI SftTree_SetResizeHeader(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetResizeHeader(HWND hwndCtl); void WINAPI SftTreeSplit_SetResizeHeader(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetResizeHeader() const; void CSftTree::SetResizeHeader(BOOL fSet = TRUE); BOOL CSftTreeSplit::GetResizeHeader() const; void CSftTreeSplit::SetResizeHeader(BOOL fSet = TRUE);
Parameters
hwndCtl
The window handle of the tree control.
fSet
Set to TRUE to enable header and column resizing, otherwise set to FALSE.
Returns
GetResizeHeader returns TRUE if column headers are resizable using the mouse, otherwise FALSE is returned.
Comments
The GetResizeHeader and SetResizeHeader functions define whether column headers are resizable by the user.
Columns can only be resized by the user if column headers or column footers are visible (see SetShowHeader and SetShowFooter).
See Also C/C++ API | Categories | Notifications