Discuss this help topic in MsgConnect Forum

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


Messenger     See also    

Returns true if the message was sent and false if it's still in the outgoing queue.


    bool GetMessageSent(__int64 MsgID);

    function GetMessageSent(MsgID : Int64) : boolean;

    Function IMCXMessenger3.GetMessageSent(MsgID As String) As Boolean

    HRESULT _stdcall IMCXMessenger3.GetMessageSent([in] BSTR MsgID, [out, retval] VARIANT_BOOL * res);

    public bool GetMessageSent(long MsgID)

    Public Function GetMessageSent(ByVal MsgID As Long) As Boolean

    public boolean getMessageSent(long MsgID);

[Java ME]
    public boolean getMessageSent(long MsgID);

    bool __stdcall MCMessengerGetMessageSent(HMCMessenger h, __int64 MsgID);


  • [DLL]h - handle to the Messenger object that was returned by Create method

  • MsgID - MsgID value of the message you want to delete.

Return value

    False if the message was found in outgoing queue of some transport and True if it was not found (and obviously was either sent or returned as failed).
    Return value is passed via res parameter.


    Call this method to check if the message is still in the outgoing queue of some transport or it has already been sent.

See also:     MCMessage structure    

Discuss this help topic in MsgConnect Forum