Partager via


Gestionnaires de messages de WM_ : - M L

Les entrées de mappage suivantes sur la gauche correspondent à des prototypes de fonction à droite :

Entrée de mappage

Prototype de fonction

ON_WM_ LBUTTONDBLCLK()

afx_msg OnLButtonDblClkvoid (UINT, CPoint) ;

ON_WM_ LBUTTONDOWN()

afx_msg OnLButtonDownvoid (UINT, CPoint) ;

ON_WM_ LBUTTONUP()

afx_msg OnLButtonUpvoid (UINT, CPoint) ;

ON_WM_ MBUTTONDBLCLK()

afx_msg OnMButtonDblClkvoid (UINT, CPoint) ;

ON_WM_ MBUTTONDOWN()

afx_msg OnMButtonDownvoid (UINT, CPoint) ;

ON_WM_ MBUTTONUP()

afx_msg OnMButtonUpvoid (UINT, CPoint) ;

ON_WM_ MDIACTIVATE()

afx_msg OnMDIActivatevoid (BOOL, CWnd*, CWnd*) ;

ON_WM_ MEASUREITEM()

afx_msg OnMeasureItemvoid (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 OnMenuRButtonUpvoid (UINT, CMenu*) ;

ON_WM_ MENUSELECT()

afx_msg OnMenuSelectvoid (UINT, UINT, HMENU) ;

ON_WM_ MOUSEACTIVATE()

afx_msg int OnMouseActivate(CWnd*, UINT, UINT) ;

ON_WM_ MOUSEHOVER()

afx_msg OnMouseHovervoid (UINT, CPoint) ;

ON_WM_ MOUSEHWHEEL()

afx_msg OnMouseHWheelvoid (UINT, short, CPoint) ;

ON_WM_ MOUSELEAVE()

afx_msg OnMouseLeavevoid () ;

ON_WM_ MOUSEMOVE()

afx_msg OnMouseMovevoid (UINT, CPoint) ;

ON_WM_ MOUSEWHEEL()

BOOL OnMouseWheel(UINT, short, CPoint) d'afx_msg ;

ON_WM_ MOVE()

afx_msg OnMovevoid (int, int) ;

ON_WM_ MOVING()

afx_msg OnMovingvoid (UINT, LPRECT) ;

Voir aussi

Référence

Tables des messages (MFC)

Gestionnaires pour les messages de WM_