ComboBox_ShowDropdown macro

Shows or hides the list in a combo box. You can use this macro or send the CB_SHOWDROPDOWN message explicitly.

Syntax

void ComboBox_ShowDropdown(
   hwndCtl,
   fShow
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fShow

Type: BOOL

TRUE to show the dropdown, or FALSE to hide it.

Return value

None

Remarks

This macro has no effect on a combo box created with the CBS_SIMPLE style.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h