SftTree/DLL 6.5

ShowHeaderButtons

Softel vdm, Inc.

Defines the presence of column header buttons.

C

BOOL WINAPI SftTree_GetShowHeaderButtons(HWND hwndCtl);
void WINAPI SftTree_SetShowHeaderButtons(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetShowHeaderButtons(HWND hwndCtl);
void WINAPI SftTreeSplit_SetShowHeaderButtons(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetShowHeaderButtons() const;
void CSftTree::SetShowHeaderButtons(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetShowHeaderButtons() const;
void CSftTreeSplit::SetShowHeaderButtons(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to display headers as buttons, set to FALSE to display headers as titles.

Returns

GetShowHeaderButtons may return TRUE even if headers are not displayed.  In that case, the return value indicates the current settings which will take effect once the headers are shown (see SetShowHeader).

Comments

The GetShowHeaderButtons and SetShowHeaderButtons functions define the presence of column header buttons.

This example determines if headers are shown and if the headers are displayed as buttons.

See Also  C/C++ API  |  CategoriesNotifications

 


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