Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

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.

styleHorizontal row/column footer text alignment
not specifiedIf no horizontal row/column footer text alignment is specified, the default is ES_LEFT.
ES_LEFTThe row/column footer text is left aligned within the row/column footer.
ES_CENTERThe row/column footer text is centered within the row/column footer.
ES_RIGHTThe row/column footer text is right aligned within the row/column footer.
styleVertical row/column footer text alignment
not specifiedIf no vertical row/column footer text alignment is specified, the default is SFTTREE_VCENTER.
SFTTREE_TOPThe row/column footer text and picture are aligned with the top of the row/column footer.
SFTTREE_VCENTERThe row/column footer text and picture are vertically centered within the row/column footer.
SFTTREE_BOTTOMThe 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_DISABLEDThe row/column footer is disabled, cannot be clicked and is displayed in a "grayed" fashion.
SFTTREE_HEADER_UPThe 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