|
JWSCL Documentation
|
|
Parameters |
Description |
|
const AMessage: TJwString |
string that contains the message to be displayed. |
|
const ACaption: TJwString |
string that contains the dialog box title. |
|
const uType: DWORD |
Specifies the contents and behavior of the message box. This value is typically MB_OK. For a complete list of values, see the uType parameter of the MessageBox function. |
|
const ATimeOut: DWORD |
Specifies the time, in seconds, that the SendMessage function waits for the user's response. If the user does not respond within the time-out interval, the pResponse parameter returns IDTIMEOUT. If the Timeout parameter is zero, WTSSendMessage will wait indefinitely for the user to respond. |
SendMessage returns the user's response, which can be one of the following values:
|
Value |
Meaning |
|
IDABORT |
Abort button was selected. |
|
IDCANCEL |
Cancel button was selected. |
|
IDIGNORE) |
Ignore button was selected. |
|
IDNO |
No button was selected. |
|
IDRETRY |
Retry button was selected. |
|
IDYES |
Yes button was selected. |
|
IDASYNC |
The bWait parameter was FALSE, so the function returned without waiting for a response. |
|
IDTIMEOUT |
The bWait parameter was TRUE and the time-out interval elapsed. |
If the function fails you can use GetLastError to get extended error information
Remarks If you don't need to wait for the user's response you can use the PostMessage function
The SendMessage function displays a message box on the client desktop.
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|