<< Return to Main Index

< Return to Class Index

CGXComboBox::OnGetListboxRect

virtual CRect OnGetListboxRect(const CRect& rcCellRect);

rcCellRect

Points to the rectangle with the size of the drop-down list box.

Return Value

Returns the rectangle with the size of the drop-down list box.

Remarks

Called before the drop-down list box is made visible. Override this method for changing the default list box size (e.g., if you would like to have it wider than the default).

CGXComboBox

Class Overview | Class Members