This documentation is archived and is not being maintained.

NativeWindow Members

NativeWindow overview

Public Constructors

public constructorNativeWindow Constructor Initializes a new instance of the NativeWindow class.

Public Properties

public propertyHandle Gets the handle for this window.

Public Methods

public methodAssignHandle Assigns a handle to this window.
public methodCreateHandle Creates a window and its handle with the specified creation parameters.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDefWndProc Invokes the default window procedure associated with this window. It is an error to call this method when the Handle property is 0.
public methodDestroyHandle Destroys the window and its handle.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)FromHandle Retrieves the window associated with the specified handle.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodReleaseHandle Releases the handle associated with this window.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize Overridden. Releases the resources associated with this window.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnHandleChange Specifies a notification method that is called when the handle for a window is changed.
protected methodOnThreadException When overridden in a derived class, manages an unhandled thread exception.
protected methodWndProc Invokes the default window procedure associated with this window.

See Also

NativeWindow Class | System.Windows.Forms Namespace