API 文件集 > Menu manager menus > Object ProMenubutton > Function ProMenubuttonActivate
Function ProMenubuttonActivate
Description
Sets a menu item to be accessible.
This function affects Menu-Manager (mode-specific) menus only. NOTE:
Only items of menus currently displayed on the screen can be set to accessible. You cannot make accessible a menu item that Creo Parametric itself has made inaccessible.
Synopsis
#include <ProMenu.h>
ProMenubuttonActivate
(
ProMenuName menuname
/* (In)
The name of the menu
*/
/* (In)
The name of the menu button
*/
)
Returns
The function successfully made the button accessible.
A general error occurred and the function failed.
Sample Code References
這是否有幫助?