menu

WinForms

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

    Show / Hide Table of Contents

    Class NativeWindowEx

    Subclass window that allowing attaching of message filters classes into Message processing.

    Inheritance
    System.Object
    NativeWindowEx
    Namespace: Syncfusion.Windows.Forms.Interop
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class NativeWindowEx : NativeWindow

    Constructors

    NativeWindowEx(IntPtr)

    Default constructor that subclass window by it handle automatically.

    Declaration
    public NativeWindowEx(IntPtr hWnd)
    Parameters
    Type Name Description
    System.IntPtr hWnd

    Window Handle.

    Fields

    InvalidHandle

    Value that represent invalid window handle.

    Declaration
    public static readonly IntPtr InvalidHandle
    Field Value
    Type
    System.IntPtr

    Properties

    MessageFilter

    Gets and Sets reference on message filter instance.

    Declaration
    public IMessageFilter MessageFilter { get; set; }
    Property Value
    Type
    System.Windows.Forms.IMessageFilter

    Methods

    WndProc(ref Message)

    Override of WndProc function.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    Reference on message processed by Window.

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