[This is preliminary documentation and is subject to change.]
The Win32Window type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Win32Window(Int32) | CTor from Int32 handle | |
| Win32Window(IntPtr) | CTor from IntPtr handle | |
| Win32Window(Control) | ||
| Win32Window(IWin32Window) | CTor from IWin32Window | |
| Win32Window(Window) | CTor from Window |
Methods
| Name | Description | |
|---|---|---|
| Clone | Creates new instance of Win32Window pointing to same window as curent instance | |
| Dispose()()()() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| Dispose(Boolean) | Sets Handle to zero | |
| Equals(Object) | (Overrides Object..::..Equals(Object).) | |
| Equals(Control) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(IWin32Window) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(Window) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(Win32Window) | Indicates whether the current object is equal to another object of the same type. | |
| FindChild | Searches for immediate child of current window with given parameters | |
| FindChildren | Searches for immediate children of current window with given parameters | |
| FindWindow | Searches for top-leve window by class and/or text | |
| FindWindows | Searches for top-level windows by class and/or text | |
| HideIcon | Hides an icon of window | |
| Move(Rectangle) | Changes window position and size to specified Rectangle | |
| Move(Int32, Int32, Int32, Int32, Boolean) | Changes window position and size | |
| PostMessage(WindowMessage) | Posts given window message to current window without waiting for the window to process the message | |
| PostMessage(WindowMessages, Int32, Int32) | Posts a window message to current window without waiting for the window to process the message | |
| SendMessage(WindowMessage) | Sends given window message to current window | |
| SendMessage(WindowMessages, Int32, Int32) | Sends a window message to current window | |
| SendMessageByRefStruct | Sends a window message with pointer-to-structure lParam to current window and allow message target to change values in this structure | |
| SendMessageString(WindowMessages, Int32, String) | Sends a window message with string lParam to current window | |
| SendMessageString(WindowMessages, Int32, StringBuilder) | Sends a window message with StringBuilderlParam to current window | |
| SendMessageStructure | Sends a window message with pointer-to-structure lParam to current window | |
| SendNotification | Sends a notification messages WM_NOTIFY to current window | |
| SetForeground | Sets window as foreground window | |
| ToString | (Overrides Object..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality(IWin32Window, Win32Window) | Compares IWin32Window and Win32Window | |
| Equality(Window, Win32Window) | Compares Window and Win32Window | |
| Equality(Win32Window, IWin32Window) | Compares Win32Window and IWin32Window | |
| Equality(Win32Window, Window) | Compares Win32Window and Window | |
| Equality(Win32Window, Win32Window) | Compares Win32Window and Win32Window | |
| ImplicitWideningImplicitImplicitImplicit(Control to Win32Window) | Converts Control to Win32Window | |
| ImplicitWideningImplicitImplicitImplicit(Window to Win32Window) | Converts Window to Win32Window | |
| Inequality(IWin32Window, Win32Window) | Compares IWin32Window and Win32Window | |
| Inequality(Window, Win32Window) | Compares Window and Win32Window | |
| Inequality(Win32Window, IWin32Window) | Compares Win32Window and IWin32Window | |
| Inequality(Win32Window, Window) | Compares Win32Window and Window | |
| Inequality(Win32Window, Win32Window) | Compares Win32Window and Win32Window |
Properties
| Name | Description | |
|---|---|---|
| Area | Gets or sets rectangle covered by the window | |
| Bottom | Gets y coordinate of bottom edge of the window | |
| ClassName | Gets class name of the window | |
| DefWndProc | Gets default window procedure implementation that responds to all messages in defaut way. This implementation is provided by the OS. | |
| Desktop | Gets window that represents the desktop | |
| ExtendedStyle | Gets or sest window extended style | |
| GuiThread | Gets a GUI thread this window belongs to | |
| Handle | Gets the handle to the window represented by the implementer. | |
| Height | Gets or sets height of the window | |
| hWnd | ||
| Children | Gets all childrens of current windows | |
| Left | Gets or sets x coordinale of left edge of the window. | |
| Location | Gets or sets location of the window | |
| Parent | Gets or sets parent of current Window | |
| ParentHandle | Gets or sets handle of current window's parent | |
| Process | Gets process this window belongs to | |
| Right | Gets x coordinate of right edge of the window | |
| ScreenArea | Gets or sets window area in screen coordinates (even for non-top-level windows) | |
| Size | Gets or sets the size of the window | |
| Text | Gets or sets text associated with the window | |
| Top | Gets or sets y coordinate of top edge of the window. | |
| TopLevelWindows | Gets all the top-level windows | |
| Width | Gets or sets width of the window | |
| WindowLong | Gets or sets specified window long of current window | |
| WndProc | Gets or sets wnd proc of current window. Used for so-called window sub-classing. | |
| WndProcPointer | Gets or sets pointer to wnd proc of current window. Used for so-called sub-classing. |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICloneable..::..Clone | Obsolete. | |
| ICloneable<(Of <<'(IWin32Window>)>>)..::..Clone |