Description | ||||||||||||||
Designates the radio button to appear as placeable in the Screen Customization dialog. This may not be used for existing Creo Parametric system radio buttons. | ||||||||||||||
Synopsis | ||||||||||||||
#include <ProUICmd.h> | ||||||||||||||
ProError | ProCmdRadiogrpDesignate | ( | ||||||||||||
uiCmdCmdId option_id | ||||||||||||||
/* (In) | ||||||||||||||
The identifier of the option | ||||||||||||||
*/ | ||||||||||||||
int number_radio_group_items | ||||||||||||||
/* (In) | ||||||||||||||
The number of items in the radio group | ||||||||||||||
*/ | ||||||||||||||
ProCmdItemName* radio_group_items | ||||||||||||||
/* (In) | ||||||||||||||
ProArray of names of the items in the radio group | ||||||||||||||
*/ | ||||||||||||||
ProCmdItemLabel* radio_group_labels | ||||||||||||||
/* (In) | ||||||||||||||
ProArray of labels of the items in the radio group | ||||||||||||||
*/ | ||||||||||||||
ProCmdLineHelp* one_line_helps | ||||||||||||||
/* (In) | ||||||||||||||
ProArray of one-line help strings for the radio group | ||||||||||||||
*/ | ||||||||||||||
ProCmdItemIcon* radio_group_icons | ||||||||||||||
/* (In) | ||||||||||||||
ProArray of names of the icon file including the extension. It can be either a .PNG, .GIF, .JPG, .PCX, .BMP, .ICO, .CUR file or a Creo Parametric .BIF file. Make sure to provide the filename including a valid file extension, denoting the type of the image as one of the standard formats listed above. PTC recommends using .PNG file. All icons in Creo Parametric Ribbon are either 16x16 (small) or 32x32 (large) size. As a standard naming convention icon name should not have 32x32 or 20x20 or 16x16 postfix. When Creo Parametric wants to display small icon it looks for iconname.ext and when it looks for large icon it looks for iconname_large.ext file. In order to support legacy applications if iconname.ext is not of 16x16 or 20x20 then Creo Parametric looks iconname16x16.ext or iconname20x20.ext. This support will go away in future releases. PTC recommends using standard icon naming conventions i.e. iconname.ext or iconname_large.ext. For example in order to designate both small and large icon to a command, place both my_icon.png and my_icon_large.png in the resource directory and use my_icon.png as icon file name. Note: The default search paths for finding the icons are:
|
||||||||||||||
*/ | ||||||||||||||
ProCmdDescription description | ||||||||||||||
/* (In) | ||||||||||||||
Message in the customization dialog and click on "Description" | ||||||||||||||
*/ | ||||||||||||||
ProFileName filename | ||||||||||||||
/* (In) | ||||||||||||||
The name of the message file that contains labels and help strings | ||||||||||||||
*/ | ||||||||||||||
) | ||||||||||||||
Returns | ||||||||||||||
|