Messenger.MessageProcessed
Messenger
See also
Returns an incoming message and leaves it in the queue.
[C++]
void MessageProcessed(MCMessage* Message);
[Pascal]
procedure MessageProcessed(var Message : TMCMessage);
[VB6]
Sub MessageProcessed(Message As IMCXMessage)
[ActiveX]
HRESULT _stdcall MessageProcessed([in] IMCXMessage * Message);
[C#]
public void MessageProcessed(ref ref MCMessage Message)
[VB.NET]
Public Sub MessageProcessed(ByRef Message As MCMessage)
[Java]
public void messageProcessed(MCMessage message);
[Java ME]
public synchronized void messageProcessed(MCMessage message);
[Palm]
void MessageProcessed(MCMessage* Message);
[DLL]
long __stdcall MCMessengerMessageProcessed(HMCMessenger h, MCMessage* Message);
- [DLL]h - handle to the Messenger object that was returned by Create method
- Message - The message structure that was processed and should be discarded (reply sent, internal records cleared etc). See more here
[DLL]
If the function was called not from the same thread in which Messenger operates, MCE_WRONGTHREAD code is returned, otherwise MC_OK is returned.
Call this method after the application has taken the message using GetMessage or PeekMessage methods and has handled them. This is done to send a return value (if necessary), dispose of the binary data and clear internal records.
This method together with GetMessage and PeekMessage is an alternative to using Queues.
you should not call this method in message handlers (i.e. if you are using Queue objects to handle messages).
|