Help Center
Help Center›AfxNova

CMenu.TrackPopupMenumethod

Displays a shortcut menu at the specified location and tracks the selection of items on the menu. The shortcut menu can appear anywhere on the screen.

WindowsmethodCMenu.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION CMenu.TrackPopupMenu (BYVAL hMenu AS HMENU, BYVAL uFlags AS UINT, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL hwnd AS HWND, BYVAL prc AS RECT PTR = NULL) AS BOOLEAN

Description

Displays a shortcut menu at the specified location and tracks the selection of items on the menu. The shortcut menu can appear anywhere on the screen.

Reference

  • Include file CMenu.inc
  • Defined in AfxNova/CMenu.inc:1416