Defines the picture displayed on the dropdown button while the dropdown portion is shown.
C
void WINAPI SftBox_GetDropDownButtonDroppedPicture(HWND hwndCtl, LPSFT_PICTURE lpPicture); void WINAPI SftBox_SetDropDownButtonDroppedPicture(HWND hwndCtl, LPCSFT_PICTURE lpPicture);
C++
void CSftBox::GetDropDownButtonDroppedPicture(LPSFT_PICTURE lpPicture) const; void CSftBox::SetDropDownButtonDroppedPicture(LPCSFT_PICTURE lpPicture);
hwndCtl
The window handle of the combo box control.
lpPicture
A pointer to a SFT_PICTURE structure.
GetDropDownButtonDroppedPicture: The structure will be updated with the picture currently defined. If no picture is defined, an empty picture is returned.
SetDropDownButtonDroppedPicture: The picture to be displayed on the dropdown button. This parameter may be NULL to remove the picture.
None.
The GetDropDownButtonDroppedPicture and SetDropDownButtonDroppedPicture functions define the picture displayed on the dropdown button while the dropdown portion is shown.
While the dropdown portion is shown, this picture replaces the picture defined using SetDropDownButtonPicture. If no picture is defined using SetDropDownButtonDroppedPicture, the dropdown button looks the same whether the dropdown portion is shown or not.
This picture is only used if a picture has also been defined using SetDropDownButtonPicture, except with the dropdown button styles SFTBOX_DDBUTTON_BUTTONHOVER and SFTBOX_DDBUTTON_BUTTONHOVERNT (see SetDropDownButtonStyle), where it is used on its own.
A simple combo box does not have a dropdown button, so the picture is not used.
See Also C/C++ API | Categories | Notifications