An application sends a CB_GETDROPPEDCONTROLRECT message to retrieve the screen coordinates of the drop-down list box of a combo box.
CB_GETDROPPEDCONTROLRECT
wParam = 0; // not used; must be zero
lParam = (LPARAM) (RECT FAR*) lprc; // address of RECT structure
If the message succeeds, the return value is nonzero.
If the message fails, the return value is zero.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Combo Boxes Overview, Combo Box Messages, RECT