Defines the picture displayed in the row/column header.
C
BOOL WINAPI SftBox_GetRowColPicture(HWND hwndCtl, LPSFT_PICTURE lpPicture); BOOL WINAPI SftBox_SetRowColPicture(HWND hwndCtl, LPCSFT_PICTURE lpPicture);
C++
BOOL CSftBox::GetRowColPicture(LPSFT_PICTURE lpPicture) const; BOOL CSftBox::SetRowColPicture(LPCSFT_PICTURE lpPicture);
hwndCtl
The window handle of the combo box control.
lpPicture
A pointer to a SFT_PICTURE structure where the current row/column header picture is returned (GetRowColPicture) or which describes the new row/column header picture (SetRowColPicture). If the SFT_PICTURE structure defines a bitmap handle, the top, left pixel of the bitmap must contain the image's background color. This color will be replaced by the actual window background color when the bitmap is displayed. For SetRowColPicture, this parameter may be NULL to remove the row/column header picture.
GetRowColPicture and SetRowColPicture always return TRUE.
The GetRowColPicture and SetRowColPicture functions define the picture displayed in the row/column header.
The picture is shown in the row/column header of the static portion and the dropdown portion.
The height of the picture is taken into account when the height of the column headers is calculated, so the picture is not clipped vertically.
The horizontal and vertical alignment of the row/column header picture is defined using SetRowColBitmapStyle.
The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader, SetShowHeaderMain and SetShowHeaderDropDown).
See Also C/C++ API | Categories | Notifications