Function ProMessagePasswordRead
Description
Reads user input in the form of character strings. The input is not visible in the message area. Specify default values in the call to ProMessageDisplay(), using the separator ||| in the format string in the message file. (See the Creo Parametric TOOLKIT User's Guide section Contents of the Message File for the specific placement of the ||| separator.)
NOTE:Call ProMessageDisplay before calling this function.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMessage.h>
ProMessagePasswordRead
(
int max_password_length
/* (In)
The maximum length (up to 127 characters) of the string put into password
*/
wchar_t* password
/* (Out)
The user's input
*/
)
Returns
The function successfully read a string.
The user canceled input by typing &ltESC&gt.
The function failed to read a string. This includes the case of the user entering &ltCR&gt without typing any characters.)
Sample Code References
User Guide References
Isto foi útil?