Documentação da API > Menu manager menus > Object ProMenu > Function ProMenuFileRegister
Function ProMenuFileRegister
Description
Defines a new Creo Parametric menu by reading in a menu file. This function is executed only once during a Creo Parametric session for each menu. Subsequent calls to this function for a previously loaded menu are ignored.
This function affects Menu-Manager (mode-specific) menus only.
Synopsis
#include <ProMenu.h>
ProMenuFileRegister
(
ProMenuName menuname
/* (In)
The name of the menu.
*/
/* (In)
The name of the menu file.
*/
int* menu_id
/* (Out)
The identifier of the created menu. This argument can be NULL.
*/
)
Returns
The function successfully defined the menu.
The menu file was not found.
Sample Code References
User Guide References
Isto foi útil?