Type Property

      Applies To

Returns an enumerated string indicating the window type.

Syntax

Property Get Type () As vbext_WindowType

Remarks

If the window is for an Environment tool, then the Type property indicates which one. If the window is for a package-supplied tool or document window, the type is vbext_wt_ToolOrDocument, and the ObjectKind property indicates package-specific type information.

Element Value
vbext_wt_CodeWindow 0
vbext_wt_Designer 1
vbext_wt_Browser 2
vbext_wt_Watch 3
vbext_wt_Locals 4
vbext_wt_Immediate 5
vbext_wt_ProjectWindow 6
vbext_wt_PropertyWindow 7
vbext_wt_Find 8
vbext_wt_FindReplace 9
vbext_wt_Toolbox 10
vbext_wt_LinkedWindowFrame 11
vbext_wt_MainWindow 12
vbext_wt_Preview 13
vbext_wt_ColorPalette 14
vsext_wt_ToolWindow 15
vsext_wt_Document 16
vsext_wt_OutputWindow 17
vsext_wt_TaskList 18
vsext_wt_Autos 19
vsext_wt_CallStack 20
vsext_wt_Threads 21
vsext_wt_DocumentOutline 22
vsext_wt_RunningDocuments 23