WM_ 消息处理程序:D - E

下面左侧的映射条目对应于右侧的函数原型:

映射条目 函数原型
ON_WM_DEADCHAR() afx_msg void OnDeadChar(UINT, UINT, UINT);
ON_WM_DELETEITEM() afx_msg void OnDeleteItem(int, LPDELETEITEMSTRUCT);
ON_WM_DESTROY() afx_msg void OnDestroy();
ON_WM_DESTROYCLIPBOARD() afx_msg void OnDestroyClipboard();
ON_WM_DEVICECHANGE() afx_msg void OnDeviceChange(UINT, DWORD);
ON_WM_DEVMODECHANGE() afx_msg void OnDevModeChange(LPSTR);
ON_WM_DRAWCLIPBOARD() afx_msg void OnDrawClipboard();
ON_WM_DRAWITEM() afx_msg void OnDrawItem(LPDRAWITEMSTRUCT);
ON_WM_DROPFILES() afx_msg void OnDropFiles(HDROP);
ON_WM_DWMCOLORIZATIONCOLORCHANGED() afx_msg void OnColorizationColorChanged(DWORD, BOOL);
ON_WM_DWMCOMPOSITIONCHANGED() afx_msg void OnCompositionChanged();
ON_WM_DWMNCRENDERINGCHANGED() afx_msg void OnNcRenderingChanged(BOOL);
ON_WM_DWMWINDOWMAXIMIZEDCHANGE() afx_msg void OnWindowMaximizedChanged(BOOL);
ON_WM_ENABLE() afx_msg void OnEnable(BOOL);
ON_WM_ENDSESSION() afx_msg void OnEndSession(BOOL);
ON_WM_ENTERIDLE() afx_msg void OnEnterIdle(UINT, CWnd*);
ON_WM_ENTERSIZEMOVE() afx_msg void OnEnterSizeMove();
ON_WM_ERASEBKGND() afx_msg BOOL OnEraseBkgnd(CDC*);
ON_WM_EXITSIZEMOVE() afx_msg void OnExitSizeMove();

另请参阅

消息映射
WM_ 消息的处理程序