Menu functions of Apis

Source: Internet
Author: User
Appendmenu adds a menu item to the specified menu
Checkmenuitem
Checkmenuradioitem
Createmenu create a menu
Createpopupmenu: Create an empty pop-up menu
Deletemenu: delete a specified menu entry
Destroymenu
Drawmenubar is used to redraw a menu for a specified window.
Enablemenuitem allows or disables specified menu entries
Getmenu: Get the handle of a menu in the window.
Getmenucheckmarkdimensions returns the size of a menu check mark.
Getmenucontexthelpid obtains the help scenario ID of a menu.
Getmenudefaultitem determines which item in the menu is the default item
Getmenuitemcount returns the number of entries (menu items) in the menu.
Getmenuitemid: return the menu ID of the entry at the specified position in the menu.
Getmenuiteminfo obtains (receives) specific information related to a menu entry.
Getmenuitemrect loads the screen coordinate information of the specified menu bar in a rectangle
Getmenustate: obtains information about the status of a specified menu entry.
Getmenustring
Getsubmenu gets the handle of a pop-up menu, which is located at the specified position in the menu
Getsystemmenu gets the system menu handle of the specified window
Hilitemenuitem controls the highlighted display status of top-level menu entries
Insertmenu inserts a menu entry at the specified position of the menu, and moves other entries downward as needed
Insertmenuitem Insert a new menu entry
Ismenu determines whether the specified handle is a menu handle
Loadmenu loads a menu from a specified module or application instance
Loadmenuindirect loads a menu
Menuitemfrompoint: determines which menu entry contains a specified Vertex on the screen.
Modifymenu
Removemenu deletes a specified menu entry
Setmenu
Setmenucontexthelpid: Set the help scenario ID of a menu
Setmenudefaultitem sets a menu entry as the default entry
Setmenuitembitmaps sets a specific bitmap so that it can be used in the specified menu entry, instead of the standard checkmark (√)
Setmenuiteminfo sets the specified information for a menu entry
Trackpopupmenu displays a pop-up menu anywhere on the screen
Trackpopupmenuex is similar to trackpopupmenu, but it provides additional functions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.