ComboBox_Enable macro

Enables or disables a combo box control.

Syntax


BOOL ComboBox_Enable(
  HWND hwndCtl,
  BOOL fEnable
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fEnable

Type: BOOL

TRUE to enable the control, or FALSE to disable it.

Return value

TRUE if the window was previously disabled, or FALSE if it was previously enabled.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft