共用方式為


WM_ Message Handlers: D - E

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at WM_ Message Handlers: D - E.

The following map entries on the left correspond to the function prototypes on the right:

Map entry Function prototype
ON_WM_DEADCHAR() afx_msg void OnDeadChar(UINT, UINT, UINT);
ON_WM_DELETEITEM() afx_msg void OnDeleteItem(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();

See Also

Message Maps
Handlers for WM_ Messages