This structure contains information specific to an NM_CUSTOMDRAWnotification message.
typedef struct tagNMCUSTOMDRAWINFO{
NMHDR hdr;
DWORD dwDrawStage;
HDC hdc;
RECT rc;
DWORD dwItemSpec;
UINT uItemState;
LPARAM lItemlParam}
NMCUSTOMDRAW, FAR * LPNMCUSTOMDRAW;
Members
hdr
Handle to a NMHDRstructure that contains information about this notification message. 含有通知信息的 NMHDR 结构.
dwDrawStage
Specifies thecurrent drawing stage. 目前绘制的步骤. It is one of the following values.
Global Drawstage values:
Value |
Description |
CDDS_POSTERASE |
After the erasing cycle is complete. |
CDDS_POSTPAINT |
After the painting cycle is complete. |
CDDS_PREERASE |
Before the erasing |