|
|
|
RowColBitmapStyle |
Defines the position of the picture displayed in the row/column header.
C
DWORD WINAPI SftTree_GetRowColBitmapStyle(HWND hwndCtl); void WINAPI SftTree_SetRowColBitmapStyle(HWND hwndCtl, DWORD style); DWORD WINAPI SftTreeSplit_GetRowColBitmapStyle(HWND hwndCtl); void WINAPI SftTreeSplit_SetRowColBitmapStyle(HWND hwndCtl, DWORD style);
C++
DWORD CSftTree::GetRowColBitmapStyle() const; void CSftTree::SetRowColBitmapStyle(DWORD style); DWORD CSftTreeSplit::GetRowColBitmapStyle() const; void CSftTreeSplit::SetRowColBitmapStyle(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
GetRowColBitmapStyle returns a value indicating the position of the picture displayed in the row/column header.
Comments
The GetRowColBitmapStyle and SetRowColBitmapStyle 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/SetRowColHeaderPictureStyle is a synonym for Get/SetRowColBitmapStyle.
See Also C/C++ API | Categories | Notifications