|
|
|
RowColHeaderStyle |
Defines the position of the text displayed in the row/column header.
C
DWORD WINAPI SftTree_GetRowColHeaderStyle(HWND hwndCtl); void WINAPI SftTree_SetRowColHeaderStyle(HWND hwndCtl, DWORD style); DWORD WINAPI SftTreeSplit_GetRowColHeaderStyle(HWND hwndCtl); void WINAPI SftTreeSplit_SetRowColHeaderStyle(HWND hwndCtl, DWORD style);
C++
DWORD CSftTree::GetRowColHeaderStyle() const; void CSftTree::SetRowColHeaderStyle(DWORD style); DWORD CSftTreeSplit::GetRowColHeaderStyle() const; void CSftTreeSplit::SetRowColHeaderStyle(DWORD style);
Parameters
hwndCtl
The window handle of the tree control.
style
The style used for the row/column header.
One value of each of the following tables can be combined and passed as style parameter.
style |
Horizontal row/column header text alignment |
not specified |
If no horizontal row/column header text alignment is specified, the default is ES_LEFT. |
ES_LEFT |
The row/column header text is left aligned within the row/column header. |
ES_CENTER |
The row/column header text is centered within the row/column header. |
ES_RIGHT |
The row/column header text is right aligned within the row/column header. |
style |
Vertical row/column header text alignment |
not specified |
If no vertical row/column header text alignment is specified, the default is SFTTREE_VCENTER. |
SFTTREE_TOP |
The row/column header text and picture are aligned with the top of the row/column header. |
SFTTREE_VCENTER |
The row/column header text and picture are vertically centered within the row/column header. |
SFTTREE_BOTTOM |
The row/column header text and picture are aligned with the bottom of the row/column header. |
The style value can optionally be combined with one or more of the following values:
SFTTREE_HEADER_DISABLED |
The row/column header is disabled, cannot be clicked and is displayed in a "grayed" fashion. |
SFTTREE_HEADER_UP |
The row/column header buttons will automatically return to its "up" position when clicked. |
Returns
GetRowColHeaderStyle returns a value indicating the position of the text displayed in the row/column header.
Comments
The GetRowColHeaderStyle and SetRowColHeaderStyle functions define the position of the text displayed in the row/column header.
The row/column header text can be defined using SetRowColHeaderText.
The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).
See Also C/C++ API | Categories | Notifications