Defines whether the dropdown button changes its appearance when the mouse cursor is located on the button.
C
BOOL WINAPI SftBox_GetHoverButton(HWND hwndCtl); void WINAPI SftBox_SetHoverButton(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetHoverButton() const; void CSftBox::SetHoverButton(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE to highlight the dropdown button when the mouse cursor is located on the button, otherwise set to FALSE.
GetHoverButton returns TRUE if the dropdown button is highlighted when the mouse cursor is located on the button, otherwise FALSE is returned.
The GetHoverButton and SetHoverButton functions define whether the dropdown button changes its appearance when the mouse cursor is located on the button.
By default, the dropdown button is highlighted (TRUE).
The highlighted appearance is available with the dropdown button styles SFTBOX_DDBUTTON_DEFAULT and SFTBOX_DDBUTTON_WINCLASSIC (see SetDropDownButtonStyle). With the style SFTBOX_DDBUTTON_CLASSIC the appearance of the dropdown button does not change. If a picture is defined using SetDropDownButtonPicture, the highlighted appearance is only available with the style SFTBOX_DDBUTTON_DEFAULT while Windows themes are used. The styles SFTBOX_DDBUTTON_BUTTONHOVER and SFTBOX_DDBUTTON_BUTTONHOVERNT use a separate button, which is not affected by SetHoverButton.
See Also C/C++ API | Categories | Notifications