SftTree/DLL 6.5

ShowButton0

Softel vdm, Inc.

Defines the presence of level 0 expand/collapse buttons.

C

BOOL WINAPI SftTree_GetShowButton0(HWND hwndCtl);
void WINAPI SftTree_SetShowButton0(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetShowButton0(HWND hwndCtl);
void WINAPI SftTreeSplit_SetShowButton0(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetShowButton0() const;
void CSftTree::SetShowButton0(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetShowButton0() const;
void CSftTreeSplit::SetShowButton0(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to display expand/collapse buttons for items on level 0, otherwise set to FALSE.

Returns

GetShowButton0 returns a value indicating whether expand/collapse buttons for items on level 0 are shown.  TRUE is returned if level 0 expand/collapse buttons are shown, otherwise FALSE is returned.

Comments

The GetShowButton0 and SetShowButton0 functions define the presence of level 0 expand/collapse buttons.

SetShowButtons can be used to enable or disable expand/collapse buttons on levels other than level 0.

The SetItemExpandCollapseButton function can be used to hide an item's expand/collapse button

See Also  C/C++ API  |  CategoriesNotifications

 


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