共用方式為


__VSCREATETOOLWIN Enum

Definition

Controls how a new tool window is created.

public enum class __VSCREATETOOLWIN
public enum class __VSCREATETOOLWIN
enum __VSCREATETOOLWIN
public enum __VSCREATETOOLWIN
type __VSCREATETOOLWIN = 
Public Enum __VSCREATETOOLWIN
Inheritance
__VSCREATETOOLWIN

Fields

Name Value Description
CTW_RESERVED_MASK 65535

Reserved bits.

CTW_fInitNew 65536

Initialize a new tool window.

CTW_fActivateWithProject 131072

Activate tool window when a project is opened.

CTW_fActivateWithDocument 262144

Activate tool window when a document is opened.

CTW_fForceCreate 524288

Tool window is created at Visual Studio startup.

CTW_fHasBorder 1048576

Tool window has a border.

CTW_fMultiInstance 2097152

Tool window can be created multiple times.

CTW_fToolbarHost 4194304

Tool window can host a toolbar.

Applies to