CWnd::OnMeasureItem

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.

Syntax

afx_msg void OnMeasureItem( int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CMenu::MeasureItem, CComboBox::MeasureItem