This member function is called by the framework for the owner of an owner-draw button, combo box, list box, or menu item when the control is created.
afx_msg void OnMeasureItem( int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CMenu::MeasureItem, CComboBox::MeasureItem