menu

WinForms

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

    Show / Hide Table of Contents

    Interface IMouseHook

    Defines the interface for the mouse hook process.

    Namespace: Syncfusion.WinForms.Core.Interfaces
    Assembly: Syncfusion.Core.WinForms.dll
    Syntax
    public interface IMouseHook

    Methods

    MouseHook(Int32, Point, IntPtr, Int32, Int32)

    Implement the mouse hook process.

    Declaration
    bool MouseHook(int msg, Point point, IntPtr hwnd, int hitTestCode, int extraInfo)
    Parameters
    Type Name Description
    System.Int32 msg

    The message.

    System.Drawing.Point point

    The position.

    System.IntPtr hwnd

    The control handle.

    System.Int32 hitTestCode

    The hit test code.

    System.Int32 extraInfo

    The additional information.

    Returns
    Type Description
    System.Boolean

    Returns the boolean.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved