Description | ||||||||
Enables you to determine where in the menu the new button is placed, relative to the existing entries, which are referenced by their sequence number. You can also use this to move existing Creo Parametric menu buttons.
This function affects Menu-Manager (mode-specific) menus only. The possible location positions are as follows:
All other items in the menu stay in the same order as before. You can call this function after creating a menu name with ProMenuFileRegister(), but before it appears on the screen. Otherwise, this function fails. |
||||||||
Synopsis | ||||||||
#include <ProMenu.h> | ||||||||
ProError | ProMenubuttonLocationSet | ( | ||||||
ProMenuName menuname | ||||||||
/* (In) | ||||||||
The name of the menu | ||||||||
*/ | ||||||||
ProMenubuttonName button | ||||||||
/* (In) | ||||||||
The name of the menu button | ||||||||
*/ | ||||||||
int location | ||||||||
/* (In) | ||||||||
The new location | ||||||||
*/ | ||||||||
) | ||||||||
Returns | ||||||||
|
||||||||
See Also | ||||||||
ProMenuFileRegister |