WM_ 消息处理程序:F - K

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

映射条目 函数原型
ON_WM_FONTCHANGE() afx_msg void OnFontChange();
ON_WM_GETDLGCODE() afx_msg UINT OnGetDlgCode();
ON_WM_GETMINMAXINFO() afx_msg void OnGetMinMaxInfo(MINMAXINFO*);
ON_WM_HELPINFO() afx_msg BOOL OnHelpInfo(HELPINFO*);
ON_WM_HOTKEY() afx_msg void OnHotKey(UINT, UINT, UINT);
ON_WM_HSCROLL() afx_msg void OnHScroll(UINT, UINT, CWnd*);
ON_WM_HSCROLLCLIPBOARD() afx_msg void OnHScrollClipboard(CWnd*, UINT, UINT);
ON_WM_ICONERASEBKGND() afx_msg void OnIconEraseBkgnd(CDC*);
ON_WM_INITMENU() afx_msg void OnInitMenu(CMenu*);
ON_WM_INITMENUPOPUP() afx_msg void OnInitMenuPopup(CMenu*, UINT, BOOL);
ON_WM_INPUT() afx_msg void OnRawInput(UINT, HRAWINPUT);
ON_WM_INPUT_DEVICE_CHANGE() afx_msg void OnInputDeviceChange(unsigned short);
ON_WM_INPUTLANGCHANGE() afx_msg void OnInputLangChange(BYTE, UINT);
ON_WM_INPUTLANGCHANGEREQUEST() afx_msg void OnInputLangChangeRequest(UINT, HKL);
ON_WM_KEYDOWN() afx_msg void OnKeyDown(UINT, UINT, UINT);
ON_WM_KEYUP() afx_msg void OnKeyUp(UINT, UINT, UINT);
ON_WM_KILLFOCUS() afx_msg void OnKillFocus(CWnd*);

另请参阅

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