menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ThreadHooks - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ThreadHooks

    Inheritance
    System.Object
    ThreadHooks
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools.Design
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ThreadHooks

    Constructors

    ThreadHooks()

    Declaration
    public ThreadHooks()

    Fields

    callWndProcCount

    Declaration
    public int callWndProcCount
    Field Value
    Type
    System.Int32

    getMsgProcCount

    Declaration
    public int getMsgProcCount
    Field Value
    Type
    System.Int32

    IgnoreWndProcNcodeZero

    Workaround for incident 35141. When calling Timer.Stop in GridGroupDropArea this ends up calling MdiSysMenuProvider.MsgHook

    Declaration
    public static bool IgnoreWndProcNcodeZero
    Field Value
    Type
    System.Boolean

    Methods

    AddCallWndProcListener(ICallWndProcListener)

    Declaration
    public void AddCallWndProcListener(ICallWndProcListener listener)
    Parameters
    Type Name Description
    ICallWndProcListener listener

    AddGetMsgProcListener(IGetMsgProcListener)

    Declaration
    public void AddGetMsgProcListener(IGetMsgProcListener listener)
    Parameters
    Type Name Description
    Syncfusion.Windows.Forms.Tools.Design.IGetMsgProcListener listener

    CallWndProcedure(Int32, IntPtr, IntPtr)

    Declaration
    public IntPtr CallWndProcedure(int ncode, IntPtr wparam, IntPtr lparam)
    Parameters
    Type Name Description
    System.Int32 ncode
    System.IntPtr wparam
    System.IntPtr lparam
    Returns
    Type
    System.IntPtr

    CallWndProcListContains(ICallWndProcListener)

    Declaration
    public bool CallWndProcListContains(ICallWndProcListener listener)
    Parameters
    Type Name Description
    ICallWndProcListener listener
    Returns
    Type
    System.Boolean

    GetMsgProcedure(Int32, IntPtr, IntPtr)

    Declaration
    public IntPtr GetMsgProcedure(int ncode, IntPtr wparam, IntPtr lparam)
    Parameters
    Type Name Description
    System.Int32 ncode
    System.IntPtr wparam
    System.IntPtr lparam
    Returns
    Type
    System.IntPtr

    GetMsgProcListContains(IGetMsgProcListener)

    Declaration
    public bool GetMsgProcListContains(IGetMsgProcListener listener)
    Parameters
    Type Name Description
    Syncfusion.Windows.Forms.Tools.Design.IGetMsgProcListener listener
    Returns
    Type
    System.Boolean

    RemoveCallWndProcListener(ICallWndProcListener)

    Declaration
    public void RemoveCallWndProcListener(ICallWndProcListener listener)
    Parameters
    Type Name Description
    ICallWndProcListener listener

    RemoveGetMsgProcListener(IGetMsgProcListener)

    Declaration
    public void RemoveGetMsgProcListener(IGetMsgProcListener listener)
    Parameters
    Type Name Description
    Syncfusion.Windows.Forms.Tools.Design.IGetMsgProcListener listener
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved