|
|
|
RowColPictureStyle |
Defines the position of the picture displayed in the row/column header.
These functions are provided for compatibility with older releases - use RowColHeaderPictureStyle instead
C
DWORD WINAPI SftTree_GetRowColPictureStyle(HWND hwndCtl); void WINAPI SftTree_SetRowColPictureStyle(HWND hwndCtl, DWORD style); DWORD WINAPI SftTreeSplit_GetRowColPictureStyle(HWND hwndCtl); void WINAPI SftTreeSplit_SetRowColPictureStyle(HWND hwndCtl, DWORD style);
C++
DWORD CSftTree::GetRowColPictureStyle() const; void CSftTree::SetRowColPictureStyle(DWORD style); DWORD CSftTreeSplit::GetRowColPictureStyle() const; void CSftTreeSplit::SetRowColPictureStyle(DWORD style);
Parameters
hwndCtl
The window handle of the tree control.
style
The picture location relative to the row/column header text.
One value of each of the following tables can be combined and passed as style parameter.
style |
Horizontal row/column header picture alignment |
SFTTREE_BMP_LEFT |
The row/column header picture is displayed to the left of the header text. If no horizontal row/column header picture alignment value is specified, SFTTREE_BMP_LEFT is assumed. |
SFTTREE_BMP_CENTER |
The row/column header picture is displayed in the center of the row/column header, the row/column header text is not shown. |
SFTTREE_BMP_RIGHT |
The row/column header picture is displayed to the right of the row/column header text. |
style |
Vertical row/column header picture alignment |
SFTTREE_BMP_VCENTER |
The row/column header picture is vertically centered within the row/column header. If no vertical row/column header alignment value is specified, SFTTREE_BMP_VCENTER is assumed. |
SFTTREE_BMP_TOP |
The row/column header picture is vertically aligned with the top of the row/column header. |
SFTTREE_BMP_BOTTOM |
The row/column header picture is vertically aligned with the bottom of the row/column header. |
Returns
GetRowColPictureStyle returns a value indicating the position of the picture displayed in the row/column header.
Comments
These functions are provided for compatibility with older releases - use RowColHeaderPictureStyle instead
The GetRowColPictureStyle and SetRowColPictureStyle functions define the position of the picture displayed in the row/column header.
The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).
Get/SetRowColBitmapStyle is a synonym for Get/SetRowColPictureStyle.
See Also C/C++ API | Categories | Notifications