Discuss this help topic in MsgConnect Forum

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



MessageHandlers.Add

MessageHandlers     See also    


Adds new item to the list.

Declaration

[C++]
    MCMessageHandler* Add();

[Pascal]
    function Add : TMessageHandler;

[VB6]
    Function Add() As MCXMessageHandler

[ActiveX]
    HRESULT _stdcall Add([out, retval] IMCXMessageHandler ** Result );

[C#]
    public MessageHandler Add();

[VB.NET]
    Public Function Add() As MessageHandler

[Java]
    public MCMessageHandler add();

[Java ME]
    public MCMessageHandler add();

[DLL]
    HMCMessageHandler __stdcall MCMessageHandlersAdd(HMCMessenger h);

Parameters

  • h - handle to the MessageHandlers object that was taken from Queue.Handlers property

Return value

    A reference to the created MessageHandler object.

Description

    Call this method to create an instance of MessageHandler and add it to the list.

See also:     MessageHandler class     Items    

Discuss this help topic in MsgConnect Forum