Defines the position of the picture displayed in the row/column header.
C
DWORD WINAPI SftBox_GetRowColBitmapStyle(HWND hwndCtl); void WINAPI SftBox_SetRowColBitmapStyle(HWND hwndCtl, DWORD style); DWORD WINAPI SftBox_GetRowColPictureStyle(HWND hwndCtl); void WINAPI SftBox_SetRowColPictureStyle(HWND hwndCtl, DWORD style);
C++
DWORD CSftBox::GetRowColBitmapStyle() const; void CSftBox::SetRowColBitmapStyle(DWORD style);
hwndCtl
The window handle of the combo box 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 |
|---|---|
| SFTBOX_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, SFTBOX_BMP_LEFT is assumed. |
| SFTBOX_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. |
| SFTBOX_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 |
|---|---|
| SFTBOX_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, SFTBOX_BMP_VCENTER is assumed. |
| SFTBOX_BMP_TOP | The row/column header picture is vertically aligned with the top of the row/column header. |
| SFTBOX_BMP_BOTTOM | The row/column header picture is vertically aligned with the bottom of the row/column header. |
GetRowColBitmapStyle returns a value indicating the position of the picture displayed in the row/column header.
The GetRowColBitmapStyle and SetRowColBitmapStyle functions define the position of the picture displayed in the row/column header.
The row/column header picture is defined using SetRowColPicture.
The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).
In C, SftBox_GetRowColPictureStyle and SftBox_SetRowColPictureStyle are synonyms for SftBox_GetRowColBitmapStyle and SftBox_SetRowColBitmapStyle.
See Also C/C++ API | Categories | Notifications