Share via


NM_RECOGNIZEGESTURE

Send Feedback

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 Values

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

Pocket PC: Windows Mobile 2003 and later.
OS Versions: Windows CE .NET 4.2 and later.
Header: commctrl.h

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.