[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  oWin:MenuSelect( <nIdItem>, <nFlags>, <nHMenu> ) -> nil

------------------------------------------------------------------------------

 PARAMETER:

  <nIdItem>    is the identifier of the selected menu item

  <nFlags>     menu Flags. This parameter can be a combination
               of the following values ( defined in MENU.PRG )

                       1 MF_GRAYED    Item is grayed. 
                       2 MF_DISABLED  Item is disabled. 
                       4 MF_BITMAP    Item is a bitmap. 
                       8 MF_CHECKED   Item is checked. 
                      16 MF_POPUP     Item contains a pop-up menu. 
                     256 MF_OWNERDRAW Item is an owner-drawn item. 
                    2048 MF_SEPARATOR Item is a menu-item separator. 

  <nHMenu>     handle of the menu



 DESCRIPTION:

  This method is called when the Window receives a WM_MENUSELECT Message,
  because the user selects a menu item.
  If the nFlag parameter contains -1 and the nHMenu parameter contains 0, 
  Windows has closed the menu. This occurs both when the menu is closed 
  because the user pressed ESC or clicked outside the menu and when the 
  user has selected a menu item. 

  ::MenuSelect then evaluates the bMenuSelect Actionblock, so that
  you can trigger your own events.



See Also: bMenuSelect oMItemSelect
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson