Provides a low-level encapsulation of a window handle and a window procedure.
| C# | Visual Basic |
public class NativeWindow
Public Class NativeWindow
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| NativeWindow()()()() |
Initializes an instance of the NativeWindow class.
| |
| AssignHandle(IntPtr) |
Assigns a handle to this window.
| |
| CreateHandle(CreateParams) |
Creates a window and its handle with the specified creation parameters.
| |
| DefWndProc(Message%) |
Invokes the default window procedure associated with this window.
It is an error to call this method when the Handle property is 0.
| |
| DestroyHandle()()()() |
Destroys the window and its handle.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Releases the resources associated with this window.
(Overrides Object.Finalize()()()().) | |
| FromHandle(IntPtr) |
Retrieves the window associated with the specified handle.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Handle |
Gets the handle for this window.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnHandleChange()()()() |
Specifies a notification method that is called when the handle for a window is changed.
| |
| ReleaseHandle()()()() |
Releases the handle associated with this window.
| |
| ToString()()()() | (Inherited from Object.) | |
| WndProc(Message%) |
Invokes the default window procedure associated with this window.
|
| Object | |
| NativeWindow | |