Functions | |
StatusInt | mdlDialog_optionButtonSetExtent (RawItemHdr *oButP) |
Causes the Dialog Manager to recompute the extents of the Option Button item pointed to by oButP. More... | |
StatusInt | mdlDialog_optionPDMItemGetInfo (WChar *labelP, RscType *iconTypeP, RscId *iconIdP, int *commandSourceP, UInt32 *valueP, UInt32 *maskP, bool *enabledP, void **userDataPP, DItem_PulldownMenuItem *menuItemP) |
Gets information about the Option Pull-Down menu item specified by menuItemP. More... | |
StatusInt | mdlDialog_optionPDMItemSetInfo (WCharCP labelP, RscType *iconTypeP, RscId *iconIdP, int *commandSourceP, UInt32 *valueP, UInt32 *maskP, bool *enabledP, void **userDataPP, DItem_PulldownMenuItem *menuItemP) |
Sets information in the Option Pull-Down menu item specified by menuItemP. More... | |
StatusInt | mdlDialog_optionPDMItemSetEnabled (DItem_PulldownMenuItem *menuItemP, bool enabled) |
Sets the enabled state (enabled or disabled) of the Option Pull-Down menu item specified by menuItemP to the value specified by enabled. More... | |
StatusInt | mdlDialog_optionPDMItemInsert (WCharCP labelP, RscType *iconTypeP, RscId *iconIdP, int *commandSourceP, UInt32 *valueP, UInt32 *maskP, bool *enabledP, void *userDataP, DItem_PulldownMenu *menuP, DItem_PulldownMenuItem *menuItemP) |
Inserts an Option Pull-Down menu item into an Option Pull-Down menu. More... | |
StatusInt mdlDialog_optionButtonSetExtent | ( | RawItemHdr * | oButP | ) |
Causes the Dialog Manager to recompute the extents of the Option Button item pointed to by oButP.
This function allows the Option Button to be resized by MicroStation after the labels of the option button subitems have been changed.
[in] | oButP | is a pointer to the Option Button's RawItemHdr. |
StatusInt mdlDialog_optionPDMItemGetInfo | ( | WChar * | labelP, |
RscType * | iconTypeP, | ||
RscId * | iconIdP, | ||
int * | commandSourceP, | ||
UInt32 * | valueP, | ||
UInt32 * | maskP, | ||
bool * | enabledP, | ||
void ** | userDataPP, | ||
DItem_PulldownMenuItem * | menuItemP | ||
) |
Gets information about the Option Pull-Down menu item specified by menuItemP.
[out] | labelP | NULL = don't want label |
[out] | iconTypeP | NULL = don't want type |
[out] | iconIdP | NULL = don't want ID |
[out] | commandSourceP | NULL = don't want cmd source |
[out] | valueP | NULL = don't want value |
[out] | maskP | NULL = don't want mask |
[out] | enabledP | NULL = don't want enab state |
[out] | userDataPP | NULL = don't want userDataP |
[in] | menuItemP | item to get info on |
StatusInt mdlDialog_optionPDMItemInsert | ( | WCharCP | labelP, |
RscType * | iconTypeP, | ||
RscId * | iconIdP, | ||
int * | commandSourceP, | ||
UInt32 * | valueP, | ||
UInt32 * | maskP, | ||
bool * | enabledP, | ||
void * | userDataP, | ||
DItem_PulldownMenu * | menuP, | ||
DItem_PulldownMenuItem * | menuItemP | ||
) |
Inserts an Option Pull-Down menu item into an Option Pull-Down menu.
[in] | labelP | set NULL if no label |
[in] | iconTypeP | set NULL if no icon |
[in] | iconIdP | set NULL if no icon |
[in] | commandSourceP | set NULL if not setting cmd source |
[in] | valueP | NULL means value of 0 |
[in] | maskP | set NULL if NOMASK |
[in] | enabledP | NULL means enabled |
[in] | userDataP | NULL means no userDataP |
[in] | menuP | menu to insert into |
[in] | menuItemP | The menuItemP parameter specifies the Option Pull-Down menu item before which the new menu item is to be inserted. If menuItemP is NULL, the menu item is appended to the end of the menu specified by menuP, which must not also be NULL. If menuItemP is not NULL, menuP can be set to NULL, since the Option Pull-Down menu to insert into can be determined from a valid pointer to an Option Pull-Down menu item. |
StatusInt mdlDialog_optionPDMItemSetEnabled | ( | DItem_PulldownMenuItem * | menuItemP, |
bool | enabled | ||
) |
Sets the enabled state (enabled or disabled) of the Option Pull-Down menu item specified by menuItemP to the value specified by enabled.
If enabled is true, the Option Pull-Down menu item is drawn with normal bold text (if the menu is not using icons) and the user can select the item. If enabled is false, the Pull-Down menu item is drawn with dimmed text and the user cannot select the item.
[in] | menuItemP | menu item to set |
[in] | enabled | true if enabled |
StatusInt mdlDialog_optionPDMItemSetInfo | ( | WCharCP | labelP, |
RscType * | iconTypeP, | ||
RscId * | iconIdP, | ||
int * | commandSourceP, | ||
UInt32 * | valueP, | ||
UInt32 * | maskP, | ||
bool * | enabledP, | ||
void ** | userDataPP, | ||
DItem_PulldownMenuItem * | menuItemP | ||
) |
Sets information in the Option Pull-Down menu item specified by menuItemP.
[in] | labelP | NULL = not setting label |
[in] | iconTypeP | NULL = not setting type |
[in] | iconIdP | NULL = not setting ID |
[in] | commandSourceP | NULL = not settng cmd source |
[in] | valueP | NULL = not setting value |
[in] | maskP | NULL = not setting mask |
[in] | enabledP | NULL = not settng enab state |
[in] | userDataPP | NULL = not settng userDataP |
[in] | menuItemP | item to set |