Category
Creo Parametric user interface
, Object
ProPopupmenu
Function ProPopupmenuIdGet
Description
Gets the popup menu id given a popup menu name.
Synopsis
#include <
ProPopupmenu.h
>
ProError
ProPopupmenuIdGet
(
const char*
name
/* (In)
Menu name.
*/
ProPopupMenuId
*
menu_id
/* (Out)
Menu Id
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully got the menu id.
PRO_TK_E_NOT_FOUND
No menu with that name.
Manual References:
User Interface: Menus, Commands, and Popupmenus: Accessing the Popup Menus
User Interface: Menus, Commands, and Popupmenus: Accessing the Popup Menus
User Interface: Menus, Commands, and Popupmenus: Checking the Access State of a Popup Menu Item
Sample Code References:
pt_userguide ( UgPopupmenus.c )
pt_userguide ( UgPopupmenus.c )
pt_userguide ( UgPopupmenus.c )