Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

Show3D

Defines the current display method used for items.

C

BOOL WINAPI SftTree_GetShow3D(HWND hwndCtl);
void WINAPI SftTree_SetShow3D(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetShow3D(HWND hwndCtl);
void WINAPI SftTreeSplit_SetShow3D(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetShow3D() const;
void CSftTree::SetShow3D(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetShow3D() const;
void CSftTreeSplit::SetShow3D(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to display items in 3D mode, otherwise set to FALSE to use standard window colors.

Returns

GetShow3D returns a value indicating the current display mode of items. TRUE is returned if 3D rendering of items is in effect, FALSE is returned if items are drawn using standard window colors.

Comments

The GetShow3D and SetShow3D functions define the current display method used for items.

When using the 3D display mode (enabled using SetShow3D), only cells or the text in the first cell is highlighted (see SetSelectionStyle).

When using the 3D display mode and grid lines are enabled, only vertical grid lines are shown.

See Also C/C++ API | Categories | Notifications