Synthesize a click on the dropdown arrow.
C
void SftButton_DoClickDropDown(HWND hwndCtl);
C++
void CSftButton::DoClickDropDown();
hwndCtl
The window handle of the button control. The button must have fShowDropDown set to TRUE.
DoClickDropDown generates the SFTBUTTONN_DROPDOWNCLICK notification and the matching pressed-state visual for the dropdown sidebar. Calling it on a button without a dropdown is a no-op.
Typical use is a keyboard shortcut (F4, Alt+Down) that should open the dropdown menu without the user having to move the mouse to the arrow.
See Also DoClick | Dropdown Button