SftTree/DLL 6.5

ResizeHeader

Softel vdm, Inc.

Defines whether columns 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 headers are resizable using the mouse, otherwise FALSE is returned.

Comments

The GetResizeHeader and SetResizeHeader functions define whether columns are resizable by the user.

Columns can only be resized by the user if column headers are visible (see SetShowHeader).

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com