Condividi tramite


Gestori di messaggi di WM_: L - M.

Le seguenti voci della mappa a sinistra corrispondono ai prototipi di funzione a destra:

Voce di mapping

Prototipo di funzione

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 OnMenuCharLUNGO (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) del afx_msg;

ON_WM_MOVE ()

afx_msg OnMovevoid (int, int);

ON_WM_MOVING ()

afx_msg OnMovingvoid (UINT, LPRECT);

Vedere anche

Riferimenti

Mappe messaggi (MFC)

Gestori per i messaggi di WM_