BCM_SETDROPDOWNSTATE message

Sets the drop down state for a button with style TBSTYLE_DROPDOWN. Send this message explicitly or by using the Button_SetDropDownState macro.

Parameters

wParam [in]

A BOOL that is TRUE for state of BST_DROPDOWNPUSHED, or FALSE otherwise.

lParam

Must be zero.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h

See also

Reference

Button Styles

Conceptual

Button Types