Discuss this help topic in MsgConnect Forum

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



Messenger.CreateMessageSimple

Messenger     See also    


Sets properties (fields) of MCMessage structure.

Declaration

[C++]
    static void CreateMessageSimple(long MsgCode, long Param1, long Param2, MCMessage& Message);

[Pascal]
    class function CreateMessageSimple(MsgCode : integer; Param1 : integer; Param2 : integer) TMCMessage;

[VB6]
    Function IMCXMessenger4.CreateMessageSimple(MsgCode As Long, Param1 As Long, Param2 As Long) As IMCXMessage

[ActiveX]
    HRESULT _stdcall IMCXMessenger4.CreateMessageSimple([in] long MsgCode, [in] long Param1, [in] long Param2, [out, retval] IMCXMessage ** Message);

[C#]
    static MCMessage CreateMessageSimple(int MsgCode, int Param1, int Param2);

[VB.NET]
    Public Shared Function CreateMessageSimple(ByVal MsgCode As Integer, ByVal Param1 As Integer, ByVal Param2 As Integer) As MCMessage

[Java]
    static MCMessage createMessageSimple( int msgCode, int param1, int param2 );

[Java ME]
    static MCMessage createMessageSimple( int msgCode, int param1, int param2 );

[DLL]
    void __stdcall MCMessengerCreateMessageSimple(long MsgCode, long Param1, long Param2, MCMessage& Message);

Parameters

  • MsgCode - application-defined message code. Use this message code to identify the message on the recipient side.
  • Param1 - application-defined parameter of the message.
  • Param2 - application-defined parameter of the message.
  • Message - The record that CreateMessageSimple creates (when Message is a function result) and filled with specified parameters. See more here

Description

    Use this method to initialize main fields of MCMessage with one call.

See also:     MCMessage structure    

Discuss this help topic in MsgConnect Forum