Click or drag to resize

Win32Window Properties

The Win32Window type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberActive
Gets the active window attached to the calling thread's message queue
Public propertyAllChildWindows
Gets the child and grand child windows that belong to this parent window.
Public propertyChildWindows
Gets the child windows that belong to this parent window.
Public propertyClassName
Gets the name of the class to which this window belongs.
Public propertyClientRect
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).
Public propertyStatic memberConsole
Gets the window used by the console associated with the calling process.
Public propertyStatic memberDesktop
Gets the desktop window.
Public propertyDisplayAffinity
Gets or sets this window's display affinity settings.
Public propertyExtendedStyles
Gets or sets the window extended styles.
Public propertyStatic memberFocus
Gets the window that has the keyboard focus, if the window is attached to the calling thread's message queue.
Public propertyStatic memberForeground
Gets the foreground window (the window with which the user is currently working).
Public propertyHandle
Gets the window handle.
Public propertyInt32Handle
Gets the window handle as an Int32.
Public propertyIsActive
Gets a value indicating whether this instance is the active window.
Public propertyIsDesktop
Gets a value indicating whether this instance is the desktop window.
Public propertyIsDialog
Gets a value indicating whether this instance is a dialog box.
Public propertyIsFocus
Gets a value indicating whether this instance is the focus window.
Public propertyIsForeground
Gets a value indicating whether this instance is the foreground window.
Public propertyIsHungApp
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.
Public propertyIsIconic
Determines whether a window is minimized (iconic).
Public propertyIsMenu
Gets a value indicating whether this instance is a menu window.
Public propertyIsUnicode
Determines whether this window is a native Unicode window.
Public propertyIsVible
Determines the visibility state of this window.
Public propertyIsWindow
Gets a value indicating whether this instance identifies an existing window.
Public propertyIsZoomed
Determines whether a window is maximized.
Public propertyLastActivePopup
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.
Public propertyModuleFileName
Gets the full path and file name of the module associated with this window.
Public propertyOwner
Gets this window's owner window, if any.
Public propertyParent
Gets this window's parent window, if any.
Public propertyParentWindows
Gets all parent windows.
Public propertyPlacement
Gets or sets the show state and the restored, minimized, and maximized positions of the window.
Public propertyProcess
Gets the process that created the window.
Public propertyProcessId
Gets the identifier of the process that created the window.
Public propertyProcessWindows
Gets the list of all windows that belong to this window's process.
Public propertyProperties
Gets the properties of this window.
Public propertyRealClassName
Gets the real name of the class to which this window belongs.
Public propertyRect
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.
Public propertyRoot
Gets this window's root window, if any.
Public propertyRootOwner
Gets this window's root owner window, if any.
Public propertyStatic memberShell
Gets the shell window.
Public propertyStyles
Gets or sets the window styles.
Public propertyText
Gets the text of the window's title bar (if it has one). If this window is a control, the text of the control.
Public propertyThreadId
Retrieves the identifier of the thread that created this window.
Public propertyTop
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.
Public propertyStatic memberTopLevelWindows
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.
Top
See Also