Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>bool pascal trackpopupmenu(hmenu hmenu, word wflag, int x, int y, int cx,</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BOOL pascal TrackPopupMenu(HMENU hMenu, WORD wFlag, int x, int y, int cx,
                                       HWND hparent, LPRECT lpRect)

  This function displays a popup menu at a specified position on the
screen and waits for the user to make a choice. If the user chooses
an item, a WM_COMMAND message will be send to the window which owns
the popup menu.

Parameters
  hMenu is the handle of the popup menu to display.
  wFlag is not used. It must be 0.
  x and y are the 0-based screen coordinates where the upper-left
   corner of the popup menu will be displayed.
  cx is the desired width of the menu.
  hParent is the handle of the window which owns the menu.
  lpRect must be NULL. It is mainly included for MS Windows 3.0
   compatibility.

Returns
   0 if the user escaped from the menu without choosing an item,
   non-zero if the user chose something.


.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson