usItem (USHORT)

      Identifier of selected item.

    usPostCommand (USHORT)

      Post-command flag.

      TRUE

        Indicates that either a WM_COMMAND, WM_SYSCOMMAND, or WM_HELP message is being posted by the menu control on return from the owner, subject to rc.
      FALSE
        Indicates that no message is being posted by the menu control on return from the owner, subject to rc.

      hwnd (HWND)

        Menu-control window handle.

      rc (BOOL)

        Post indicator.

        TRUE

          Indicates that either a WM_COMMAND, WM_SYSCOMMAND, or WM_HELP message is to be posted by the menu control window procedure. The menu is dismissed if the selected item does not have a style of MIA_NODISMISS.
        FALSE
          Indicates that no message is to be posted by the menu control window procedure and that the menu is not dismissed.


        [Back] [Next]