| Description | |||||||||||||||||||||||||||||
| Places the translated contents of a formatted message into the specified output buffer. This function works just like ProMessageDisplay(), except the message is written to a string instead of the message area.
This function takes 0 to 10 additional arguments to be substituted for conversion specifiers in the text of the message, similar to printf(). NOTE: This is an exception to the Creo Parametric TOOLKIT standard of putting output arguments after input arguments, due to the variable number of input arguments. |
|||||||||||||||||||||||||||||
| Replacement in Object TOOLKIT: | pfcBaseSession::GetMessageContents | ||||||||||||||||||||||||||||
| pfcBaseSession::GetLocalizedMessageContents | |||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||
| #include <ProMessage.h> | |||||||||||||||||||||||||||||
| ProError | ProMessageToBuffer | ( | |||||||||||||||||||||||||||
| ProLine translated_msg | |||||||||||||||||||||||||||||
| /* (Out) | |||||||||||||||||||||||||||||
| The formatted and translated message | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ProFileName file_name | |||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||
| The name of the file that contains the message | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ProCharLine message_name | |||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||
| The name of the message in the file | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ... | |||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||
| 0 through 9 values of input variants. | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ) | |||||||||||||||||||||||||||||
| Returns | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||