Sent to the parent window of an owner-drawn control or menu when a visual aspect of the control or menu has changed.
- wParam [in]
The identifier of the control that sent the DFM_WM_DRAWITEM message. If the message was sent by a menu, this parameter is zero.
- lpDrawItem [out]
A pointer to a DRAWITEMSTRUCT structure containing information about the item to be drawn and the type of drawing required.
If an application processes this message, it should return TRUE.
The itemAction member of the DRAWITEMSTRUCT structure specifies the drawing operation that an application should perform.
Before returning from processing this message, an application should ensure that the device context identified by the hDC member of the DRAWITEMSTRUCT structure is in the default state.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
Build date: 11/16/2013