This message informs the owner-draw button, combo box, list box, or menu that a visual aspect of the control has changed. The itemAction field in the DRAWITEMSTRUCT structure defines the drawing operation that is to be performed. The data in this field allows the control owner to determine what drawing action is required.
Parameter |
Description |
wParam |
Is not used. |
|
lParam |
Contains a long pointer to a DRAWITEMSTRUCT data structure that contains information about the item to be drawn and the type of drawing required. |
Before returning from processing this message, an application should restore all objects selected for the display context supplied in the hDC field of the DRAWITEMSTRUCT data structure.