CB_GETCOMBOBOXINFO Message

Gets information about the specified combo box.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(    // returns LRESULT in lResult
   hWndControl,           // (HWND) handle to destination control
   CB_GETCOMBOBOXINFO,    // (UINT) message ID
   wParam,                // = 0; not used, must be zero 
   lParam                 // = (LPARAM)(COMBOBOXINFO*) pcbi;
);

Parameters

wParam
This parameter is not used.
pcbi
[out] A pointer to a COMBOBOXINFO structure that receives the information.

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

This message is equivalent to GetComboBoxInfo.

Message Information

HeaderDeclared in Winuser.h, include Windows.h
Minimum operating systems Windows XP

See Also

Tags :


Community Content

chksr
WARNING!
This message causes a crash in the 64 bit versions of Windows Server2003 and XP (http://technet.microsoft.com/en-us/windowsserver/bb463273.aspx). Do use GetComboBoxInfo() instead!
Tags :

Page view tracker