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. More... | |
NXOpen::CustomPopupMenu * | AddMenu (int menuId, const char *menuName) |
Adds and returns a menu to this menu. More... | |
NXOpen::CustomPopupMenuItem * | AddMenuItem (int menuItemId, const NXString &menuItemName) |
Adds and returns a menu item to this menu. More... | |
NXOpen::CustomPopupMenuItem * | AddMenuItem (int menuItemId, const char *menuItemName) |
Adds and returns a menu item to this menu. More... | |
void | AddMenuSeparator () |
Adds a separator in the submenu Created in NX6.0.4. More... | |
virtual | ~CustomPopupMenu () |
Frees the object from memory. More... | |
Public Member Functions inherited from NXOpen::CustomPopupMenuItem | |
int | GetId () |
Returns Id of the menu item. More... | |
NXString | GetName () |
Returns name of the menu item. More... | |
void | SetDisabled () |
Sets the menu disabled Created in NX6.0.4. More... | |
virtual | ~CustomPopupMenuItem () |
Frees the object from memory. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
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 |
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 |
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 |
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 |
void NXOpen::CustomPopupMenu::AddMenuSeparator | ( | ) |
Adds a separator in the submenu
Created in NX6.0.4.
License requirements : None