Function ProCmdDesignate
Description
Designates the command or Chkbutton option to appear as placeable in the Screen Customization dialog. This may not be used for existing Creo Parametric system commands. Use ProCmdRadiogropDesignate() for designating Radiogrp option.
Replacement in Object TOOLKIT:
Synopsis
#include <ProUICmd.h>
ProCmdDesignate
(
uiCmdCmdId cmd_id
/* (In)
The command identifier.
*/
ProCmdItemLabel button_label
/* (In)
Message keystring referring to the button label . If the command was not assigned an icon, the button name will appear on the menu button by default.
*/
ProCmdLineHelp one_line_help
/* (In)
Message keystring referring to the button one line help.
*/
ProCmdDescription description
/* (In)
Message in the customization dialog and click on "Description"
*/
ProFileName msg_file
/* (In)
Message file name for the two keystrings.
*/
)
Returns
The command was designated. Use the Screen Customization dialog box to place it.
One or more input arguments was invalid.
The message file was not found.
One or more messages was not found in the message file.
Sample Code References
User Guide References
Was this helpful?