NX Open C++ Reference Guide
|
Represents Custom Popup Menu Item class
Created in NX6.0.4.
More...
Public Member Functions | |
NXOpen::CustomPopupMenu * | AddMenu (int menuId, const NXString &menuName) |
Adds and returns a menu to this menu. | |
NXOpen::CustomPopupMenu * | AddMenu (int menuId, const char *menuName) |
Adds and returns a menu to this menu. | |
NXOpen::CustomPopupMenuItem * | AddMenuItem (int menuItemId, const NXString &menuItemName) |
Adds and returns a menu item to this menu. | |
NXOpen::CustomPopupMenuItem * | AddMenuItem (int menuItemId, const char *menuItemName) |
Adds and returns a menu item to this menu. | |
void | AddMenuSeparator () |
Adds a separator in the submenu Created in NX6.0.4. | |
virtual | ~CustomPopupMenu () |
Frees the object from memory. | |
![]() | |
int | GetId () |
Returns Id of the menu item. | |
NXString | GetName () |
Returns name of the menu item. | |
void | SetDisabled () |
Sets the menu disabled Created in NX6.0.4. | |
virtual | ~CustomPopupMenuItem () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents Custom Popup Menu Item class
Created in NX6.0.4.
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX6.0.4.
License requirements : None
NXOpen::CustomPopupMenu* NXOpen::CustomPopupMenu::AddMenu | ( | int | menuId, |
const NXString & | menuName | ||
) |
Adds and returns a menu to this menu.
menuId | Id of the menu |
menuName | name of the menu NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CustomPopupMenu* NXOpen::CustomPopupMenu::AddMenu | ( | int | menuId, |
const char * | menuName | ||
) |
Adds and returns a menu to this menu.
menuId | Id of the menu |
menuName | name of the menu NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CustomPopupMenuItem* NXOpen::CustomPopupMenu::AddMenuItem | ( | int | menuItemId, |
const NXString & | menuItemName | ||
) |
Adds and returns a menu item to this menu.
menuItemId | Id of the menu item |
menuItemName | name of the menu item NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CustomPopupMenuItem* NXOpen::CustomPopupMenu::AddMenuItem | ( | int | menuItemId, |
const char * | menuItemName | ||
) |
Adds and returns a menu item to this menu.
menuItemId | Id of the menu item |
menuItemName | name of the menu item NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CustomPopupMenu::AddMenuSeparator | ( | ) |
Adds a separator in the submenu
Created in NX6.0.4.
License requirements : None