[This is preliminary documentation and is subject to change.]

The Win32Window type exposes the following members.

Constructors

  NameDescription
Public methodWin32Window(Int32)
CTor from Int32 handle
Public methodWin32Window(IntPtr)
CTor from IntPtr handle
Public methodWin32Window(Control)
CTor from Control (including Form)
Public methodWin32Window(IWin32Window)
CTor from IWin32Window
Public methodWin32Window(Window)
CTor from Window

Methods

  NameDescription
Public methodClone
Creates new instance of Win32Window pointing to same window as curent instance
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Sets Handle to zero
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Public methodEquals(Control)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(IWin32Window)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Window)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Win32Window)
Indicates whether the current object is equal to another object of the same type.
Public methodFindChild
Searches for immediate child of current window with given parameters
Public methodFindChildren
Searches for immediate children of current window with given parameters
Public methodStatic memberFindWindow
Searches for top-leve window by class and/or text
Public methodStatic memberFindWindows
Searches for top-level windows by class and/or text
Public methodHideIcon
Hides an icon of window
Public methodMove(Rectangle)
Changes window position and size to specified Rectangle
Public methodMove(Int32, Int32, Int32, Int32, Boolean)
Changes window position and size
Public methodPostMessage(WindowMessage)
Posts given window message to current window without waiting for the window to process the message
Public methodPostMessage(WindowMessages, Int32, Int32)
Posts a window message to current window without waiting for the window to process the message
Public methodSendMessage(WindowMessage)
Sends given window message to current window
Public methodSendMessage(WindowMessages, Int32, Int32)
Sends a window message to current window
Public methodSendMessageByRefStruct
Sends a window message with pointer-to-structure lParam to current window and allow message target to change values in this structure
Public methodSendMessageString(WindowMessages, Int32, String)
Sends a window message with string lParam to current window
Public methodSendMessageString(WindowMessages, Int32, StringBuilder)
Sends a window message with StringBuilderlParam to current window
Public methodSendMessageStructure
Sends a window message with pointer-to-structure lParam to current window
Public methodSendNotification
Sends a notification messages WM_NOTIFY to current window
Public methodSetForeground
Sets window as foreground window
Public methodToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Operators

Properties

  NameDescription
Public propertyArea
Gets or sets rectangle covered by the window
Public propertyBottom
Gets y coordinate of bottom edge of the window
Public propertyClassName
Gets class name of the window
Public propertyStatic memberDefWndProc
Gets default window procedure implementation that responds to all messages in defaut way. This implementation is provided by the OS.
Public propertyStatic memberDesktop
Gets window that represents the desktop
Public propertyExtendedStyle
Gets or sest window extended style
Public propertyGuiThread
Gets a GUI thread this window belongs to
Public propertyHandle
Gets the handle to the window represented by the implementer.
Public propertyHeight
Gets or sets height of the window
Public propertyhWnd
Same as Handle but Int32
Public propertyChildren
Gets all childrens of current windows
Public propertyLeft
Gets or sets x coordinale of left edge of the window.
Public propertyLocation
Gets or sets location of the window
Public propertyParent
Gets or sets parent of current Window
Public propertyParentHandle
Gets or sets handle of current window's parent
Public propertyProcess
Gets process this window belongs to
Public propertyRight
Gets x coordinate of right edge of the window
Public propertyScreenArea
Gets or sets window area in screen coordinates (even for non-top-level windows)
Public propertySize
Gets or sets the size of the window
Public propertyText
Gets or sets text associated with the window
Public propertyTop
Gets or sets y coordinate of top edge of the window.
Public propertyStatic memberTopLevelWindows
Gets all the top-level windows
Public propertyWidth
Gets or sets width of the window
Public propertyWindowLong
Gets or sets specified window long of current window
Public propertyWndProc
Gets or sets wnd proc of current window. Used for so-called window sub-classing.
Public propertyWndProcPointer
Gets or sets pointer to wnd proc of current window. Used for so-called sub-classing.

Explicit Interface Implementations

See Also