API 설명서 > Menu manager menus > Object ProMenubutton > Function ProMenubuttonPostactionSet
Function ProMenubuttonPostactionSet
Description
Binds a user function so it is called after Creo Parametric has finished executing the action associated with the specified button.
This function affects Menu-Manager (mode-specific) menus only.
Synopsis
#include <ProMenu.h>
ProMenubuttonPostactionSet
(
ProMenuName menuname
/* (In)
The name of the menu.
*/
/* (In)
The name of the menu button.
*/
/* (In)
The callback function to be called before the Creo Parametric command. This function must return a value of 0 to return control to Creo Parametric.
*/
ProAppData app_data
/* (In)
The general application data passed to the callback function when it is called.
*/
int app_int
/* (In)
The integer application data passed to the callback function when it is called.
*/
)
Returns
The function successfully set the post-action.
There was a general error and the function failed.
Sample Code References
User Guide References
도움이 되셨나요?