virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );
Parameters
lpDrawItemStruct
A long pointer to a DRAWITEMSTRUCT structure. The structure contains information about the item to be drawn and the type of drawing required.
Remarks
Called by the framework when a visual aspect of an owner-drawn button has changed. An owner-drawn button has the BS_OWNERDRAW style set. Override this member function to implement drawing for an owner-drawn CButton object. The application should restore all graphics device interface (GDI) objects selected for the display context supplied in lpDrawItemStruct before the member function terminates.
Also see the BS_ style values.
CButton Overview | Class Members | Hierarchy Chart
See Also CButton::SetButtonStyle, WM_DRAWITEM