Modules | |
Displaying Messages | |
Functions | |
void | mdlOutput_command (WCharCP pMessage) |
Displays the message designated by pMessage to the command field in the command window. More... | |
void | mdlOutput_commandU (WCharCP pMessage) |
Displays the message designated by pMessage in the command field in the command window, regardless of the state of tcb->control.inh_msg. More... | |
void | mdlOutput_error (WCharCP pMessage) |
Displays the message designated by pMessage in the error field in the command window. More... | |
void | mdlOutput_errorU (WCharCP pMessage) |
Displays the message designated by pMessage in the error field in the command window, regardless of the state of tcb->control.inh_err. More... | |
void | mdlOutput_keyin (WCharCP pMessage) |
Displays the message designated by pMessage in the keyin field in the command window. More... | |
void | mdlOutput_keyinU (WCharCP pMessage) |
Displays the message designated by pMessage in the keyin field in the command window, regardless of the state of tcb->control.inh_msg. More... | |
void | mdlOutput_message (WCharCP pMessage) |
Displays the message designated by pMessage in the message field in the command window. More... | |
void | mdlOutput_messageU (WCharCP pMessage) |
Displays the message designated by pMessage in the message field in the command window, regardless of the state of tcb->control.inh_msg. More... | |
int | mdlOutput_printf (int type, WCharCP formatP,...) |
Displays a message in the command window field designated by type. More... | |
void | mdlOutput_prompt (WCharCP pMessage) |
Displays the message designated by pMessage in the prompt field in the command window. More... | |
void | mdlOutput_promptU (WCharCP pMessage) |
Displays the message designated by pMessage in the prompt field in the command window, regardless of the status of tcb->control.inh_msg. More... | |
int | mdlOutput_rscPrintf (int type, RscFileHandle resourceFileHandle, long resourceId, int stringNumber,...) |
Displays a message in the command window field designated by type. More... | |
int | mdlOutput_rscfPrintf (FILE *fp, RscFileHandle resourceFileHandle, long resourceId, int stringNumber,...) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions. More... | |
void | mdlOutput_rscsPrintf (WStringR outStr, RscFileHandle resourceFileHandle, long resourceId, int stringNumber,...) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions. More... | |
int | mdlOutput_rscvPrintf (int type, RscFileHandle resourceFileHandle, long resourceId, int stringNumber, va_list varg) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions. More... | |
int | mdlOutput_rscvfPrintf (FILE *fp, RscFileHandle resourceFileHandle, long resourceId, int stringNumber, va_list varg) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions. More... | |
void | mdlOutput_rscvsPrintf (WStringR buffer, RscFileHandle resourceFileHandle, long resourceId, int stringNumber, va_list varg) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions. More... | |
void | mdlOutput_status (WCharCP pMessage) |
Displays the message designated by pMessage in the status field in the command window. More... | |
void | mdlOutput_statusU (WCharCP pMessage) |
Displays the message designated by pMessage of the status field in the command window, regardless of the state if tcb->control.inh_msg. More... | |
int | mdlOutput_vprintf (int type, WCharCP formatP, va_list ap) |
Displays a message in the command window field designated by type. More... | |
void | mdlOutput_flyoverMsgU (WCharCP pMessage) |
Displays a message in the fly over field of the Status Bar, regardless of the stat of tcb->control.inh_msg. More... | |
void | mdlOutput_flyoverMsg (WCharCP pMessage) |
Displays a message in the fly over field of the Status Bar. More... | |
void | mdlOutput_setAddToMessageCenter (bool bMsgCenter) |
Toggles on or off the Message Center logging. More... | |
int | mdlOutput_rscvMessageCenter (DgnPlatform::OutputMessagePriority messagePriority, RscFileHandle resourceFileHandle, long resourceId, int briefStringNumber, int detailedStringNumber, DgnPlatform::OutputMessageAlert openAlertBox, va_list varg) |
Loads the specified brief message and detailed message from the resource file and sends them to the Message Center. More... | |
int | mdlOutput_rscMessageCenter (DgnPlatform::OutputMessagePriority messagePriority, RscFileHandle resourceFileHandle, long resourceId, int briefStringNumber, int detailedStringNumber, DgnPlatform::OutputMessageAlert openAlertBox,...) |
Loads the specified brief message and detailed message from the resource file and sends them to the Message Center. More... | |
int | mdlOutput_tempMessage (DgnPlatform::OutputMessagePriority messageField, WCharCP pBriefMessage, WCharCP pDetailedMessage) |
Sends the specified brief message and detailed message to the Message Center, but the messages are only temporary. More... | |
int | mdlOutput_messageCenterEx (DgnPlatform::OutputMessagePriority messagePriority, WCharCP pBriefMessage, WCharCP pDetailedMessage, long detailMessageAttributes, DgnPlatform::OutputMessageAlert openAlertBox) |
Sends the specified brief message and detailed message to the Message Center and specifies multi-line text item attributes for the Detailed Message area in the Message Center. More... | |
int | mdlOutput_messageCenter (DgnPlatform::OutputMessagePriority messagePriority, WCharCP pBriefMessage, WCharCP pDetailedMessage, DgnPlatform::OutputMessageAlert openAlertBox) |
Sends the specified message and detailed message to the Message Center. More... | |
void mdlOutput_command | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage to the command field in
the command window.
[in] | pMessage | message to display |
void mdlOutput_commandU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the command field in the command window, regardless of the state of tcb->control.inh_msg.
[in] | pMessage | message to display |
Command Window Field | Corresponding Status Area Field |
---|---|
command field | in the left portion of status area. |
prompt field | in left portion of status area, to the right of the command string, (i.e., command> prompt). |
error field | overlays the command> prompt in the left portion of the status area. |
msg field | in the right portion of the status area. |
status field | in the right portion of the status area, to the right of the snap mode indicator. |
void mdlOutput_error | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the error field in the command window.
[in] | pMessage | error message to display |
void mdlOutput_errorU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the error field in the command window, regardless of the state of tcb->control.inh_err.
[in] | pMessage | error message to display |
void mdlOutput_flyoverMsg | ( | WCharCP | pMessage | ) |
Displays a message in the fly over field of the Status Bar.
[in] | pMessage | fly over message |
void mdlOutput_flyoverMsgU | ( | WCharCP | pMessage | ) |
Displays a message in the fly over field of the Status Bar, regardless of the stat of tcb->control.inh_msg.
[in] | pMessage | fly over message |
void mdlOutput_keyin | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the keyin field in the command window.
[in] | pMessage | message to display |
void mdlOutput_keyinU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the keyin field in the command window, regardless of the state of tcb->control.inh_msg.
[in] | pMessage | message to display |
void mdlOutput_message | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the message field in the command window.
[in] | pMessage | message to display |
int mdlOutput_messageCenter | ( | DgnPlatform::OutputMessagePriority | messagePriority, |
WCharCP | pBriefMessage, | ||
WCharCP | pDetailedMessage, | ||
DgnPlatform::OutputMessageAlert | openAlertBox | ||
) |
Sends the specified message and detailed message to the Message Center.
[in] | messagePriority | determines which icon will be associated with the message in the Message Center's list box. Valid values are: OutputMessagePriority::Error, OutputMessagePriority::Error,OutputMessagePriority::Info, OutputMessagePriority::Debug |
[in] | pBriefMessage | is the brief message string. This message will display in the Message Center and the Status Bar |
[in] | pDetailedMessage | is optionally used to list any details associated with the message. This will display only in the Message Center. |
[in] | openAlertBox | if true or OutputMessageAlert::Dialog, MicroStation will open an alert box displaying the brief message. If OutputMessageAlert::Balloon, a balloon window will be opened. |
int mdlOutput_messageCenterEx | ( | DgnPlatform::OutputMessagePriority | messagePriority, |
WCharCP | pBriefMessage, | ||
WCharCP | pDetailedMessage, | ||
long | detailMessageAttributes, | ||
DgnPlatform::OutputMessageAlert | openAlertBox | ||
) |
Sends the specified brief message and detailed message to the Message Center and specifies multi-line text item attributes for the Detailed Message area in the Message Center.
[in] | messagePriority | determines which icon will be associated with the message in the Message Center's list box. Valid values are: OutputMessagePriority::Error, OutputMessagePriority::Error,OutputMessagePriority::Info, OutputMessagePriority::Debug |
[in] | pBriefMessage | is the brief message string. This message will display in the Message Center and the Status Bar |
[in] | pDetailedMessage | is optionally used to list any details associated with the message. This will display only in the Message Center. |
[in] | detailMessageAttributes | specifies MLTEXTATTR_ values to be applied to the Detailed Message area before displaying the detailed message.. |
[in] | openAlertBox | if true or OutputMessageAlert::Dialog, MicroStation will open an alert box displaying the brief message. If OutputMessageAlert::Balloon, a balloon window will be opened. |
void mdlOutput_messageU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the message field in the command window, regardless of the state of tcb->control.inh_msg.
[in] | pMessage | message to display |
int mdlOutput_printf | ( | int | type, |
WCharCP | formatP, | ||
... | |||
) |
Displays a message in the command window field designated by type.
Valid values are MSG_MESSAGE, MSG_ERROR, MSG_PROMPT, MSG_STATUS, MSG_COMMAND and MSG_KEYIN.
[in] | type | Identifies command window field |
[in] | formatP | pointer to format string |
[in] | ... | arguments associated with conversion specifications in formatP |
void mdlOutput_prompt | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the prompt field in the command window.
[in] | pMessage | message to display |
void mdlOutput_promptU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the prompt field in the command window, regardless of the status of tcb->control.inh_msg.
[in] | pMessage | message to display |
int mdlOutput_rscfPrintf | ( | FILE * | fp, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
... | |||
) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions.
The functions consist of a core of functionality that generates an output string based on a format string and a variable number of arguments. As with the mdlOutput_rscPrintf function, the resourceFileHandle, resourceId and stringNumber parameters identify a printf style format string.
[in] | fp | file to write to |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | ... | arguments associated with conversion specifications in the resource string |
int mdlOutput_rscMessageCenter | ( | DgnPlatform::OutputMessagePriority | messagePriority, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | briefStringNumber, | ||
int | detailedStringNumber, | ||
DgnPlatform::OutputMessageAlert | openAlertBox, | ||
... | |||
) |
Loads the specified brief message and detailed message from the resource file and sends them to the Message Center.
[in] | messagePriority | determines which icon will be associated with the message in the Message Center's list box. Valid values are: OutputMessagePriority::Error, OutputMessagePriority::Error, OutputMessagePriority::Info, OutputMessagePriority::Debug |
[in] | resourceFileHandle | resource file from which to load messages |
[in] | resourceId | is the id of string list containing the messages. |
[in] | briefStringNumber | is index of the message string. |
[in] | detailedStringNumber | is the index of the detailed message text. |
[in] | openAlertBox | if true or OutputMessageAlert::Dialog, MicroStation will open an alert box displaying the brief message. If OutputMessageAlert::Balloon, a balloon window will be opened. |
[in] | ... | arguments associated with conversion specifications in the resource string |
int mdlOutput_rscPrintf | ( | int | type, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
... | |||
) |
Displays a message in the command window field designated by type.
The message is assembled according to the format specified by the string in a MessageList resource. The values substituted into the string are passed as arguments.
[in] | type | MSG_MESSAGE, MSG_PROMPT, etc |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | ... | arguments associated with conversion specifications in the resource string |
void mdlOutput_rscsPrintf | ( | WStringR | outStr, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
... | |||
) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions.
The functions consist of a core of functionality that generates an output string based on a format string and a variable number of arguments. As with the mdlOutput_rscPrintf function, the resourceFileHandle, resourceId and stringNumber parameters identify a printf style format string.
[out] | outStr | buffer for generated string |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | ... | arguments associated with conversion specifications in the resource string |
int mdlOutput_rscvfPrintf | ( | FILE * | fp, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
va_list | varg | ||
) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions.
The functions consist of a core of functionality that generates an output string based on a format string and a variable number of arguments. As with the mdlOutput_rscPrintf function, the resourceFileHandle, resourceId and stringNumber parameters identify a printf style format string.
[in] | fp | file to write to |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | varg | a variable argument list |
int mdlOutput_rscvMessageCenter | ( | DgnPlatform::OutputMessagePriority | messagePriority, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | briefStringNumber, | ||
int | detailedStringNumber, | ||
DgnPlatform::OutputMessageAlert | openAlertBox, | ||
va_list | varg | ||
) |
Loads the specified brief message and detailed message from the resource file and sends them to the Message Center.
[in] | messagePriority | determines which icon will be associated with the message in the Message Center's list box. Valid values are: OutputMessagePriority::Error, OutputMessagePriority::Error, OutputMessagePriority::Info, OutputMessagePriority::Debug |
[in] | resourceFileHandle | resource file from which to load messages |
[in] | resourceId | is the id of string list containing the messages. |
[in] | briefStringNumber | is index of the message string. |
[in] | detailedStringNumber | is the index of the detailed message text. |
[in] | openAlertBox | if true or OutputMessageAlert::Dialog, MicroStation will open an alert box displaying the brief message. If OutputMessageAlert::Balloon, a balloon window will be opened. |
[in] | varg | a variable argument list |
int mdlOutput_rscvPrintf | ( | int | type, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
va_list | varg | ||
) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions.
The functions consist of a core of functionality that generates an output string based on a format string and a variable number of arguments. As with the mdlOutput_rscPrintf function, the resourceFileHandle, resourceId and stringNumber parameters identify a printf style format string.
[in] | type | MSG_MESSAGE, MSG_PROMPT, etc |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | varg | a variable argument list |
void mdlOutput_rscvsPrintf | ( | WStringR | buffer, |
RscFileHandle | resourceFileHandle, | ||
long | resourceId, | ||
int | stringNumber, | ||
va_list | varg | ||
) |
The mdlOutput_rscfPrintf, mdlOutput_rscsPrintf, mdlOutput_rscvfPrintf and mdlOutput_rscvsPrintf functions round out the mdlOutput_rscPrintf functions the same way fprintf, sprintfv, fprintf and vsprintf round out the printf class of functions.
The functions consist of a core of functionality that generates an output string based on a format string and a variable number of arguments. As with the mdlOutput_rscPrintf function, the resourceFileHandle, resourceId and stringNumber parameters identify a printf style format string.
[out] | buffer | buffer for generated string |
[in] | resourceFileHandle | The format string is retrieved from the resource file. resourceFileHandle specifies the resource file containing the MessageList. |
[in] | resourceId | specifies the message list containing the string. |
[in] | stringNumber | is the number of the string in the message list. |
[in] | varg | a variable argument list |
void mdlOutput_setAddToMessageCenter | ( | bool | bMsgCenter | ) |
Toggles on or off the Message Center logging.
[in] | bMsgCenter | should be set to false to disable logging, true to enable logging |
void mdlOutput_status | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage in the status field in the command window.
[in] | pMessage | the message to display |
void mdlOutput_statusU | ( | WCharCP | pMessage | ) |
Displays the message designated by pMessage of the status field
in the command window, regardless of the state if tcb->control.inh_msg.
[in] | pMessage | the message to display |
int mdlOutput_tempMessage | ( | DgnPlatform::OutputMessagePriority | messageField, |
WCharCP | pBriefMessage, | ||
WCharCP | pDetailedMessage | ||
) |
Sends the specified brief message and detailed message to the Message Center, but the messages are only temporary.
Instead of becoming a permanent part of the log, the messages will be overlaid by the next message sent to the Message Center..
[in] | messageField | determines where in the Status Bar the brief message will display. OutputMessagePriority::TempLeft specifies the Command/Prompt (far left) area. OutputMessagePriority::TempRight specifies the Message (center) area. |
[in] | pBriefMessage | is the brief message string. This message will display in the Message Center and the Status Bar |
[in] | pDetailedMessage | is optionally used to list any details associated with the message. This will display only in the Message Center. |
int mdlOutput_vprintf | ( | int | type, |
WCharCP | formatP, | ||
va_list | ap | ||
) |
Displays a message in the command window field designated by type.
[in] | type | type of field. Valid values are MSG_MESSAGE, MSG_ERROR, MSG_PROMPT, MSG_STATUS, MSG_COMMAND and MSG_KEYIN, which are defined in mdl.h. |
[in] | formatP | pointer to format string |
[in] | ap | The string resulting from interpreting the format string can be of unlimited length; it is no longer limited. |