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