共用方式為


WindowType Enumeration

Window type desired by the caller of HwndGetWindow. Also passed to listeners of the GetWindow event in the GetWindowEventArgs object.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Enumeration WindowType
'用途
Dim instance As WindowType
public enum WindowType
public enum class WindowType
type WindowType
public enum WindowType

Members

Member name Description
WindowToplevel 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.
WindowOwner 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.
WindowComponent This is the "main" window of the component (if it has one).
WindowDialogOwner 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.

See Also

Reference

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace