Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SHRGINFO

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This structure sets members for the SHRecognizeGesture function. If a user taps and holds long enough to warrant a context menu, a GN_CONTEXTMENU notification will be returned by the function, or sent to the parent of the control, depending on the values in the SHRGINFO structure.


typedef struct tagSHRGI {
  DWORD cbSize;
  HWND hwndClient;
  POINT ptDown;
  DWORD dwFlags;
} SHRGINFO, *PSHRGINFO;

cbSize

Size of the SHRGINFO structure.

hwndClient

Handle to the window calling the SHRecognizeGesture function.

ptDown

X and Y client coordinates of the mouse-down position.

dwFlags

Contains one of the values listed in the following table.

Flag Description

SHRG_LONGDELAY

This will process a longer delay than the default before it indicates a gesture.

SHRG_NOANIMATION

Suppresses the animation associated with a gesture. For more information, see SHRecognizeGesture.

SHRG_NOTIFYPARENT

Parent of hwndClient will receive WM_NOTIFY or GN_CONTEXTMENU, as applicable.

SHRG_RETURNCMD

Return value will be GN_CONTEXTMENU or 0.

Headeraygshell.h
Libraryaygshell.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later

Community Additions

Show:
© 2015 Microsoft