Edit

Share via


WM_ Message Handlers: L - M

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

Map entry Function prototype
ON_WM_LBUTTONDBLCLK() afx_msg void OnLButtonDblClk(UINT, CPoint);
ON_WM_LBUTTONDOWN() afx_msg void OnLButtonDown(UINT, CPoint);
ON_WM_LBUTTONUP() afx_msg void OnLButtonUp(UINT, CPoint);
ON_WM_MBUTTONDBLCLK() afx_msg void OnMButtonDblClk(UINT, CPoint);
ON_WM_MBUTTONDOWN() afx_msg void OnMButtonDown(UINT, CPoint);
ON_WM_MBUTTONUP() afx_msg void OnMButtonUp(UINT, CPoint);
ON_WM_MDIACTIVATE() afx_msg void OnMDIActivate(BOOL, CWnd*, CWnd*);
ON_WM_MEASUREITEM() afx_msg void OnMeasureItem(LPMEASUREITEMSTRUCT);
ON_WM_MENUCHAR() afx_msg LONG OnMenuChar(UINT, UINT, CMenu*);
ON_WM_MENUDRAG() afx_msg UINT OnMenuDrag(UINT, CMenu*);
ON_WM_MENUGETOBJECT() afx_msg UINT OnMenuGetObject(MENUGETOBJECTINFO*);
ON_WM_MENURBUTTONUP() afx_msg void OnMenuRButtonUp(UINT, CMenu*);
ON_WM_MENUSELECT() afx_msg void OnMenuSelect(UINT, UINT, HMENU);
ON_WM_MOUSEACTIVATE() afx_msg int OnMouseActivate( CWnd*, UINT, UINT );
ON_WM_MOUSEHOVER() afx_msg void OnMouseHover(UINT, CPoint);
ON_WM_MOUSEHWHEEL() afx_msg void OnMouseHWheel(UINT, short, CPoint);
ON_WM_MOUSELEAVE() afx_msg void OnMouseLeave();
ON_WM_MOUSEMOVE() afx_msg void OnMouseMove( UINT, CPoint);
ON_WM_MOUSEWHEEL() afx_msg BOOL OnMouseWheel(UINT, short, CPoint);
ON_WM_MOVE() afx_msg void OnMove(int, int);
ON_WM_MOVING() afx_msg void OnMoving(UINT, LPRECT);

See also

Message Maps
Handlers for WM_ Messages