Win32Window Properties |
The Win32Window type exposes the following members.
Name | Description | |
---|---|---|
Active |
Gets the active window attached to the calling thread's message queue
| |
AllChildWindows |
Gets the child and grand child windows that belong to this parent window.
| |
ChildWindows |
Gets the child windows that belong to this parent window.
| |
ClassName |
Gets the name of the class to which this window belongs.
| |
ClientRect |
Gets the coordinates of a window's client area.
The client coordinates specify the upper-left and lower-right corners of the client area.
Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).
| |
Console |
Gets the window used by the console associated with the calling process.
| |
Desktop |
Gets the desktop window.
| |
DisplayAffinity |
Gets or sets this window's display affinity settings.
| |
ExtendedStyles |
Gets or sets the window extended styles.
| |
Focus |
Gets the window that has the keyboard focus, if the window is attached to the calling thread's message queue.
| |
Foreground |
Gets the foreground window (the window with which the user is currently working).
| |
Handle |
Gets the window handle.
| |
Int32Handle |
Gets the window handle as an Int32.
| |
IsActive |
Gets a value indicating whether this instance is the active window.
| |
IsDesktop |
Gets a value indicating whether this instance is the desktop window.
| |
IsDialog |
Gets a value indicating whether this instance is a dialog box.
| |
IsFocus |
Gets a value indicating whether this instance is the focus window.
| |
IsForeground |
Gets a value indicating whether this instance is the foreground window.
| |
IsHungApp |
Determines whether the system considers that a specified application is not responding.
An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.
This function is not intended for general use. It may be altered or unavailable in subsequent versions of Windows.
| |
IsIconic |
Determines whether a window is minimized (iconic).
| |
IsMenu |
Gets a value indicating whether this instance is a menu window.
| |
IsUnicode |
Determines whether this window is a native Unicode window.
| |
IsVible |
Determines the visibility state of this window.
| |
IsWindow |
Gets a value indicating whether this instance identifies an existing window.
| |
IsZoomed |
Determines whether a window is maximized.
| |
LastActivePopup |
Determines which pop-up window owned by this window was most recently active.
The return value is the same as the handle parameter, if any of the following conditions are met:
1) The window identified by hWnd was most recently active.
2) The window identified by hWnd does not own any pop-up windows.
3) The window identifies by hWnd is not a top-level window, or it is owned by another window.
| |
ModuleFileName |
Gets the full path and file name of the module associated with this window.
| |
Owner |
Gets this window's owner window, if any.
| |
Parent |
Gets this window's parent window, if any.
| |
ParentWindows |
Gets all parent windows.
| |
Placement |
Gets or sets the show state and the restored, minimized, and maximized positions of the window.
| |
Process |
Gets the process that created the window.
| |
ProcessId |
Gets the identifier of the process that created the window.
| |
ProcessWindows |
Gets the list of all windows that belong to this window's process.
| |
Properties |
Gets the properties of this window.
| |
RealClassName |
Gets the real name of the class to which this window belongs.
| |
Rect |
Gets the dimensions of the bounding rectangle of the window.
The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
| |
Root |
Gets this window's root window, if any.
| |
RootOwner |
Gets this window's root owner window, if any.
| |
Shell |
Gets the shell window.
| |
Styles |
Gets or sets the window styles.
| |
Text |
Gets the text of the window's title bar (if it has one). If this window is a control, the text of the control.
| |
ThreadId |
Retrieves the identifier of the thread that created this window.
| |
Top |
Examines the Z order of the child windows associated with this window and retrieves a handle to the child window at the top of the Z order.
| |
TopLevelWindows |
Enumerates all top-level windows on the screen.
This function does not enumerate child windows, with the exception of a few top-level windows owned by the system that have the WS_CHILD style.
|