Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 


Messenger     See also    

Returns an incoming message and leaves it in the queue.


    void MessageProcessed(MCMessage* Message);

    procedure MessageProcessed(var Message : TMCMessage);

    Sub MessageProcessed(Message As IMCXMessage)

    HRESULT _stdcall MessageProcessed([in] IMCXMessage * Message);

    public void MessageProcessed(ref ref MCMessage Message)

    Public Sub MessageProcessed(ByRef Message As MCMessage)

    public void messageProcessed(MCMessage message);

[Java ME]
    public synchronized void messageProcessed(MCMessage message);

    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

Return value

    MC_OK is always 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.

    Note: you should not call this method in message handlers (i.e. if you are using Queue objects to handle messages).

See also:     Queue class     MCMessage structure     GetMessage     PeekMessage    

Discuss this help topic in MsgConnect Forum