Functions | |
StatusInt | mdlDialog_toggleButtonGetInfo (CommandNumber *commandNumberP, UInt32 *commandSourceP, UInt32 *maskP, int *invertP, RawItemHdr *tButP) |
Gets information on Toggle Button items. More... | |
StatusInt | mdlDialog_toggleButtonSetInfo (CommandNumber *commandNumberP, UInt32 *commandSourceP, UInt32 *maskP, int *invertP, RawItemHdr *tButP) |
Sets information on Toggle Button items. More... | |
StatusInt | mdlDialog_toggleButtonGetIcon (RawItemHdr *tButP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP, IconRsc **iconRscPP) |
Gets the icon that is specified for the given ToggleButton or ToggleIcon item. More... | |
StatusInt | mdlDialog_toggleButtonSetIcon (RawItemHdr *tButP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP) |
Sets the icon information for a ToggleButton or ToggleIcon item. More... | |
StatusInt | mdlDialog_toggleButtonSetPressedIcon (RawItemHdr *tButP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP) |
Sets the pressed icon id, type and owner for the specified togglebutton dialog item. More... | |
StatusInt mdlDialog_toggleButtonGetIcon | ( | RawItemHdr * | tButP, |
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP, | ||
IconRsc ** | iconRscPP | ||
) |
Gets the icon that is specified for the given ToggleButton or ToggleIcon item.
Any of the parameters receiving information back from this function can be set to NULL if that information is not required.
[in] | tButP | points to the RawItemHdr for the ToggleButton or ToggleIcon item |
[out] | iconIdP | is the Id of the icon. |
[out] | iconTypeP | is the icon type of the specified pull down menu item. |
[out] | iconOwnerMDP | is the owner MD of the icon. |
[out] | iconRscPP | receives a pointer to the icon resource. |
StatusInt mdlDialog_toggleButtonGetInfo | ( | CommandNumber * | commandNumberP, |
UInt32 * | commandSourceP, | ||
UInt32 * | maskP, | ||
int * | invertP, | ||
RawItemHdr * | tButP | ||
) |
Gets information on Toggle Button items.
Each of the parameters except tButP may be NULL, indicating that the information is not to be retrieved.
[out] | commandNumberP | points to a variable indicating the command number associated with the Toggle Button. |
[out] | commandSourceP | points to a variable indicating the source of the command, typically MCMD for a MicroStation command or LCMD for an MDL application command. |
[out] | maskP | points to a variable containing the mask for setting bits in the variable associated with the Toggle Button. See the discussion of the Toggle Button item resource for details. |
[out] | invertP | indicates whether to invert the function of the maskP variable. Again, see the discussion of the Toggle Button item resource for details. |
[in] | tButP | points to the RawItemHdr of the Toggle Button in question. |
StatusInt mdlDialog_toggleButtonSetIcon | ( | RawItemHdr * | tButP, |
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP | ||
) |
Sets the icon information for a ToggleButton or ToggleIcon item.
[in] | tButP | points to the RawItemHdr for the ToggleButton or ToggleIcon item |
[in] | iconIdP | points to a long representing the id of the icon to be used |
[in] | iconTypeP | points to an unsigned long representing the type of icon to be used |
[in] | iconOwnerMDP | points to the MDL Descriptor of the icon to be used |
StatusInt mdlDialog_toggleButtonSetInfo | ( | CommandNumber * | commandNumberP, |
UInt32 * | commandSourceP, | ||
UInt32 * | maskP, | ||
int * | invertP, | ||
RawItemHdr * | tButP | ||
) |
Sets information on Toggle Button items.
Each of the parameters except tButP may be NULL, indicating that the information is not to be set.
[in] | commandNumberP | points to a variable indicating the command number associated with the toggle button. |
[in] | commandSourceP | points to a variable indicating the source of the command, typically MCMD for a MicroStation command or LCMD for an MDL application command. |
[in] | maskP | points to a variable containing the mask for setting bits in the variable associated with the Toggle Button. See the discussion of the Toggle Button item resource for details. |
[in] | invertP | indicates whether to invert the function of the maskP variable. Again, see the discussion of the Toggle Button item resource for details. |
[in] | tButP | points to the RawItemHdr of the Toggle Button in question. |
StatusInt mdlDialog_toggleButtonSetPressedIcon | ( | RawItemHdr * | tButP, |
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP | ||
) |
Sets the pressed icon id, type and owner for the specified togglebutton dialog item.
[in] | tButP | is the togglebutton to set the pressed icon for. |
[in] | iconIdP | is the Id of the pressed icon, or NULL if not setting this information. |
[in] | iconTypeP | is the icon type, or NULL if not setting this information. |
[in] | iconOwnerMDP | is the icon ownerMD, or NULL if not setting this information. |