API 설명서 > Miscellaneous > Object ProMfgproctable > Function ProMfgproctablePushbuttonAdd
Function ProMfgproctablePushbuttonAdd
Description
Adds a new button to a menu in the manufacturing Process Manager dialog. The button is added to the end of the indicated menu. This should be called before the Process Manager dialog is shown.
Licensing Requirement
Synopsis
ProMfgproctablePushbuttonAdd
(
char* menu_name
/* (In)
The menu name.
*/
char* button_name
/* (In)
The button component name.
*/
wchar_t* button_label
/* (In)
The button label.
*/
wchar_t* button_helptext
/* (In)
The button help text.
*/
/* (In)
The access function for the button.
*/
/* (In)
The action function for the button.
*/
ProAppData application_data
/* (In)
Application data to pass to the access and action functions. Can be NULL.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
Could not find the parent menu.
A button with this name already exists.
Sample Code References
User Guide References
도움이 되셨나요?