Functions | |
void | mdlDialog_selectIconsByCmd (MSDialog *initiatingDbP, CommandNumber commandNumber, WCharCP taskId, IconCmdSelectType selectType) |
Sets the selection state of an icon given its command number and the task ID of its owner. More... | |
void | mdlDialog_selectIconsByCmdNoMsg (MSDialog *initiatingDbP, CommandNumber commandNumber, WCharCP taskId, IconCmdSelectType selectType) |
Sets the selection state of an icon given its command number and the task ID of its owner, but does not display the command message in the Command Window. More... | |
void | mdlDialog_selectIconsById (RscId iconId, MdlDescP ownerMD, IconCmdSelectType selectType, bool deselectOthers, bool updateToolSettings) |
Sets the selection state of an icon given its ID and a pointer to the MDL descriptor of its owner, and displays the command message in the Command Window. More... | |
void | mdlDialog_selectIconsByIdNoMsg (RscId iconId, MdlDescP ownerMD, IconCmdSelectType selectType, bool deselectOthers, bool updateToolSettings) |
Sets the selection state of an icon given its ID and a pointer to the MDL descriptor of its owner, but does not display the command message in the Command Window. More... | |
void mdlDialog_selectIconsByCmd | ( | MSDialog * | initiatingDbP, |
CommandNumber | commandNumber, | ||
WCharCP | taskId, | ||
IconCmdSelectType | selectType | ||
) |
Sets the selection state of an icon given its command number and the task ID of its owner.
[in] | initiatingDbP | points to the initiating Dialog Box, or may be NULL. |
[in] | commandNumber | indicates which icon to set be specifying the command number. A value of 0 indicates that the number of the currently active command should be used. |
[in] | taskId | indicates the task owning the command number and icon to seek. If it is NULL, the currently active task is used. |
[in] | selectType | gives the desired selection state of the icon. It may be IconCmdSelectType::Off, IconCmdSelectType::SingleShot or IconCmdSelectType::Locked. If it is -1, the previous value of selectType is used. |
void mdlDialog_selectIconsByCmdNoMsg | ( | MSDialog * | initiatingDbP, |
CommandNumber | commandNumber, | ||
WCharCP | taskId, | ||
IconCmdSelectType | selectType | ||
) |
Sets the selection state of an icon given its command number and the task ID of its owner, but does not display the command message in the Command Window.
[in] | initiatingDbP | points to the initiating Dialog Box, or may be NULL. |
[in] | commandNumber | indicates which icon to set be specifying the command number. A value of 0 indicates that the number of the currently active command should be used. |
[in] | taskId | indicates the task owning the command number and icon to seek. If it is NULL, the currently active task is used. |
[in] | selectType | gives the desired selection state of the icon. It may be IconCmdSelectType::Off, IconCmdSelectType::SingleShot or IconCmdSelectType::Locked. If it is -1, the previous value of selectType is used. |
void mdlDialog_selectIconsById | ( | RscId | iconId, |
MdlDescP | ownerMD, | ||
IconCmdSelectType | selectType, | ||
bool | deselectOthers, | ||
bool | updateToolSettings | ||
) |
Sets the selection state of an icon given its ID and a pointer to the MDL descriptor of its owner, and displays the command message in the Command Window.
[in] | iconId | id of icon to select |
[in] | ownerMD | NULL or ownerMD of icon |
[in] | selectType | ICONCMD_SELECTTYPE_xxx |
[in] | deselectOthers | should be true |
[in] | updateToolSettings | true means update TS Dialog Box |
void mdlDialog_selectIconsByIdNoMsg | ( | RscId | iconId, |
MdlDescP | ownerMD, | ||
IconCmdSelectType | selectType, | ||
bool | deselectOthers, | ||
bool | updateToolSettings | ||
) |
Sets the selection state of an icon given its ID and a pointer to the MDL descriptor of its owner, but does not display the command message in the Command Window.
[in] | iconId | is the ID of the icon whose selection state is to be modified. |
[in] | ownerMD | points to the MDL descriptor of the icon's owner. |
[in] | selectType | gives the desired selection state of the icon. It may be IconCmdSelectType::Off, IconCmdSelectType::SingleShot or IconCmdSelectType::Locked. |
[in] | deselectOthers | indicates whether all other icons should be set to IconCmdSelectType::Off, and should usually be true. |
[in] | updateToolSettings | indicates whether the Tool Settings dialog should be updated to show the settings associated with the icon whose selection state is being updated. |