Location: Symbol Reference > Classes > TJwWTSSession Class > TJwWTSSession Methods > TJwWTSSession.PostMessage Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWTSSession.PostMessage Method
Pascal
function PostMessage(const AMessage: TJwString; const ACaption: TJwString; const uType: DWORD): DWORD;
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.
 

If the function fails you can use GetLastError to get extended error information

The PostMessage function displays a message box on the client desktop.

PostMessage does not wait for the user to respond.

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!