Use this interface to manage an EwMenuItemX object. More...
Use this interface to manage an EwMenuItemX object.
Add a new sub menu item at the end of the menu.
Add a new sub menu item at a specified position in the sub menu.
if position is negative or higher than the number of menu items in menu, then the menu item will be added at the end
Return the caption of this menu item.
Determine if the menu item is checked.
Return the text of parameter strCommand used when adding a menu item.
Return the description of this menu item.
Get the ID of menu item.
Return the index of the menu item.
Return the ID of the context menu.
Return the specified sub menu item of this menu item.
Get the menu item's shortcut.
Get an IEwMenuStyle enum value that could be:
Return the ToolTip of this menu item.
Determine if the menu item has sub menu.
Determine if the menu item is enabled.
Determine if the menu item is a separator.
Determine if the menu item is visible.
Set a new caption for this menu item.
Check or uncheck the menu item.
Set the name of the command associated with this menu item.
Set a description for this menu item.
Set whether the menu item is enabled.
Add an icon from file.
Image to menu item should be .ico, .bmp, .png file.
Set menu item as a separator.
Set the shortcut string of the menu item.
Set an IEwMenuStyle enum value that could be:
Set a new ToolTip for this menu item.
Set whether the menu item is visible.
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2024 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.