DFM_WM_DRAWITEM message
Sent to the parent window of an owner-drawn control or menu when a visual aspect of the control or menu has changed.
DFM_WM_DRAWITEM
wParam = (WPARAM);
lParam = (LPARAM)(LPDRAWITEMSTRUCT) lpDrawItem;
Parameters
-
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.
Return value
If an application processes this message, it should return TRUE.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|