Share via


NM_RECOGNIZEGESTURE

4/8/2010

The NM_RECOGNIZEGESTURE notification message is used to allow the application to decide if it wants automatic gesture recognition in common controls such as listviews and treeviews or not.

Syntax

NM_RECOGNIZEGESTURE
  nmrgi = (NMRGINFO*) lParam; 

Parameters

  • nmrgi
    Reference to a NMRGINFO structure.

Return Value

Parent must return TRUE if it does not want gesture recognition. Otherwise, gesture will be recognized, animation will be shown and context menu messages (GN_CONTEXTMENU, WM_CONTEXTMENU) will be sent to parent.

Remarks

ptAction will have X and Y client coordinates to aid the decision to have gesture recognition or not.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later

See Also

Reference

Shell API Notifications
NMRGINFO
GN_CONTEXTMENU
SHRecognizeGesture