Documentazione API > Menu manager menus > Object ProMenubutton > Function ProMenubuttonGenactionSet
Function ProMenubuttonGenactionSet
Description
Specifies the action to perform when the user selects a particular menu button added by the Creo Parametric TOOLKIT application. This function performs the same task as ProMenubuttonActionSet(), but provides for more application data.
This function affects Menu-Manager (mode-specific) menus only.
See the function ProMenubuttonActionSet() for more information on these two functions.
Synopsis
#include <ProMenu.h>
ProMenubuttonGenactionSet
(
ProMenuName menuname
/* (In)
The name of the menu
*/
/* (In)
The name of the menu button
*/
/* (In)
The callback function
*/
ProAppData app_data1
/* (In)
The general application data passed to the callback function when it is called
*/
ProAppData app_data2
/* (In)
The general application data passed to the callback function when it is called
*/
ProAppData app_data3
/* (In)
The general application data passed to the callback function when it is called
*/
ProAppData app_data4
/* (In)
The general application data passed to the callback function when it is called
*/
ProAppData app_data5
/* (In)
The general application data passed to the callback function when it is called
*/
ProAppData app_data6
/* (In)
The general application data passed to the callback function when it is called
*/
)
Returns
The function successfully defined the button action.
Either the menu or the button does not exist.
See Also
Sample Code References
User Guide References
È stato utile?