Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The NM_RECOGNIZEGESTUREnotification 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 NMRGINFOstructure.

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

ptActionwill 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