Compartilhar via


WM_ Message Handlers: F - K

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

Map entry

Function prototype

ON_WM_FONTCHANGE()

afx_msg void OnFontChange();

ON_WM_GETDLGCODE()

afx_msg UINT OnGetDlgCode();

ON_WM_GETMINMAXINFO()

afx_msg void OnGetMinMaxInfo(LPPOINT);

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*);

See Also

Reference

Message Maps (MFC)

Handlers for WM_ Messages