GETCONTEXTMENUEX structure (richedit.h)

Contains context menu information that is passed to the IRichEditOleCallback::GetContextMenu method.

Syntax

typedef struct _getcontextmenuex {
  CHARRANGE chrg;
  DWORD     dwFlags;
  POINT     pt;
  void      *pvReserved;
} GETCONTEXTMENUEX;

Members

chrg

Type: CHARRANGE

The character-position range in the active display.

dwFlags

Type: DWORD

One or more of the following content menu flags:

Value Meaning
GCMF_GRIPPER
Get the context menu that is invoked by tapping a touch gripper handle.
GCMF_SPELLING
Get the context menu for a spelling error.
GCMF_MOUSEMENU
Get the context menu that is invoked by mouse.
GCMF_TOUCHMENU
Get the context menu that is invoked by touch.

pt

Type: POINT

The screen coordinates for the content menu.

pvReserved

Type: void*

Not used; must be zero.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header richedit.h

See also

IRichEditOleCallback::GetContextMenu