WindowType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Window type desired by the caller of HwndGetWindow(UInt32, UInt32). Also passed to listeners of the GetWindow event in the GetWindowEventArgs object.
public enum class WindowType
public enum class WindowType
enum WindowType
public enum WindowType
type WindowType =
Public Enum WindowType
- Inheritance
-
WindowType
Fields
WindowComponent | 2 | This is the "main" window of the component (if it has one). |
WindowDialogOwner | 3 | Caller wishes to display a dialog to be parented by the component. Component should return a window suitable for use as the dialog's owner window. |
WindowOwner | 1 | This is the window which owns the component. It could be same as the window obtained by WindowTopLevel or be an owned window of that window. |
WindowToplevel | 0 | MDI Apps should return the MDI frame (not MDI client) or App frame window, and SDI Apps should return the frame window which hosts the component. Basically it should be the topmost window which owns the component. |