Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

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.

styleHorizontal row/column header picture alignment
SFTTREE_BMP_LEFTThe 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_CENTERThe row/column header picture is displayed in the center of the row/column header, the row/column header text is not shown.
SFTTREE_BMP_RIGHTThe row/column header picture is displayed to the right of the row/column header text.
styleVertical row/column header picture alignment
SFTTREE_BMP_VCENTERThe 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_TOPThe row/column header picture is vertically aligned with the top of the row/column header.
SFTTREE_BMP_BOTTOMThe 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