|
|
|
ShowGrid |
Defines the presence of grid lines.
C
BOOL WINAPI SftTree_GetShowGrid(HWND hwndCtl); void WINAPI SftTree_SetShowGrid(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetShowGrid(HWND hwndCtl); void WINAPI SftTreeSplit_SetShowGrid(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetShowGrid() const; BOOL CSftTreeSplit::GetShowGrid() const; void CSftTree::SetShowGrid(BOOL fSet = TRUE); void CSftTreeSplit::SetShowGrid(BOOL fSet = TRUE);
Parameters
hwndCtl
The window handle of the tree control.
fSet
Set to TRUE to display grid lines, otherwise set to FALSE.
Returns
GetShowGrid returns a value indicating whether grid lines are shown. TRUE is returned if grid lines are shown, otherwise FALSE is returned.
Comments
The GetShowGrid and SetShowGrid functions define the presence of grid lines.
When using the 3D display mode (enabled using SetShow3D), only vertical grid lines are shown.
Vertical and horizontal grid lines can be controlled using SetGridStyle.
See Also C/C++ API | Categories | Notifications