Discuss this help topic in MsgConnect Forum

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


MessageHandler     See also    

Use this property to disable the handler.


    void setEnabled(bool v);
    bool getEnabled();

    property Enabled : boolean;

    Property Enabled As Boolean

    HRESULT _stdcall Enabled([in, defaultvalue(-1)] VARIANT_BOOL Value );
    HRESULT _stdcall Enabled([out, retval] VARIANT_BOOL * Value );

    public bool Enabled;

    Public Property Enabled As Boolean

    public void setEnabled(boolean b);     public boolean isEnabled();

[Java ME]
    public void setEnabled(boolean b);     public boolean getEnabled();

    void __stdcall MCMessageHandlerSetEnabled(HMCMessageHandler h, bool value);
    bool __stdcall MCMessageHandlerGetEnabled(HMCMessageHandler h);


  • h - handle to the object that was returned by Create method


    Use this property to enable or disable message handler. When message handler is disabled, it's MsgCodeHigh and MsgCodeLow values are ignored and even if the message should be handled by this handler, it is not.

See also:     MsgCodeHigh     MsgCodeLow    

Discuss this help topic in MsgConnect Forum