|
DEPRECATED:
|
Since Creo 1
|

SUPERSEDED BY: | Depends on the context, consult the user documentation. |


Replacement in Object TOOLKIT: |

ProMenubarmenuPushbuttonAdd | |
( ProMenuItemName parent_menu /* (In) The name of the parent menu */ ProMenuItemName push_button_name /* (In) The name of the push button (must be unique) */ ProMenuItemLabel push_button_label /* (In) The label of the push button */ ProMenuLineHelp one_line_help /* (In) The one-line help for the push button */ ProMenuItemName neighbor /* (In) The neighbor item in the parent menu. Note: If you are adding the first item to a new menu (created using either ProMenubarMenuAdd() or ProMenubarmenuMenuAdd()), set the neighbor argument to NULL. */ ProBoolean add_after_neighbor /* (In) Defines whether to add the button before or after the neighbor item; PRO_B_TRUE specifies after. */ uiCmdCmdId action_id /* (In) The identifier of the action attached to the push button */ ProFileName filename /* (In) The name of the message file that contains the label and help string */ ) |

The function successfully added a push button. | |
The specified message was not found in the message file. | |
a menubar entity with this name already exists. | |
The function failed to add a push button. |


