Working with Microsoft Visual Studio 2005

A

AboutBox add-in value, 127

AbsoluteCharOffset property of TextPoint, 250

Activate method of SolutionConfiguration object, 184

ActivePane property of TextWindow, 243-246

ActivePoint property, 253

ActiveSolutionProject property, 156

ActiveWindow property of Document, 248

ActiveX controls, adding to Toolbox, 210

Add Macro Project dialog box, 94

Add method, SolutionConfigurations object, 184

Add New Item dialog box, 167

AddCommandBar method, 148

AddControl method, 147-148

AddExistingItem method of ItemOperations, 166-167

AddFrom methods of ProjectItems, 168-169

AddFromFile method of Solution object, 156-158

AddFromTemplate method of Solution object, 156-158, 169

Add-in Manager, 112, 116

Add-in Wizard

About box info, adding, 108

advantages of, 107

application parameter, 111, 120

Class Library project creation, 109

debugging settings, 113

host applications, 108

loading add-ins at startup, 108

loading options, 111-112

menu item creation, 108, 111

naming add-ins, 108

On (event) method code generation, 111

opening, 107

placing commands in menus, 146

programming language selection, 108

project generation, 108

unattended build safety, 108

using statements generated by, 110

add-ins

About Box information, 108

AboutBox registry values, 127

Addin child registry values, 127-129

.addin files, 116, 126-129

AddIn objects, 120

AddIns collection, 122-124

advantages of, 15, 107

application parameter, 111, 120

applicationObject variable, 111

automation object model, interaction with, 111

`Basic.cs example, 114-115

calls to, 117-119

Class Library projects for, 109

class required for, 114

classes, accessing, 120

command creation, 135-137

command handlers, finding, 144

CommandLineSafe registry value, 129

CommandLoad registry value, 128-129

commands, generation of XML tags, 150

compiling, 115

Connect class creation, 109

Connect.cs sample file, 109-110

connection status of, 122, 124

connectMode parameter, 121

Content Installer with, 64

correlating with events, 122-125

creating from scratch, 114-115

debugging, 113-114

defined, 107

Description registry value, 127

dialog box parents for, 202

DLL nature of, 109

entry point for code, 114

EnvDTE namespaces, 120

error loading messages, 144

events, 117-119

ext_DisconnectMode values, 125-126

Extensibility namespace, 115

forms, displaying, 203

FriendlyName registry value, 127

host application registry values, 126-127

host applications, 108, 113

IDTExtensibility2 interface, 109, 111, 114, 117, 119-126

LifeCycle.cs example, 117-119

LoadBehavior registry values, 128

loading, 111-112, 116

loading at startup, 108, 128-129

LoadUnload.cs, 122-125

localization, 129-130

locations for loading from, setting, 116

macros as basis for, 98

Macros IDE, debugging in, 113-114

Manager, 112, 116

menu command, default, 111

menu command click handling, 111

menu item creation, 108, 111

modifying existing, user interface issues, 150-151

namespaces for, 110

naming, 108

On (event) methods, table of, 109

OnAddInsUpdate event, 122-125

OnBeginShutdown method, 125

OnConnection method, 111, 117, 120-121

OnDisconnection method, 125-126

OnStartupComplete method, 121

persisting data to solution files, 194-196

preloading, 128-129

programming language selection, 108

QueryStatus method, 138

registering, 116

registry values, 126-129

reload switch for, 150

samples, location of, 15

satellite DLLs, 129-130

sequence of events, 117

unattended build safety, 108

Visual Studio, registering with, 116

windows, controlling. See windows

wizard for creating. See Add-in Wizard

AddNamedCommand2 method, 135-137

AddNewItem method of ItemOperations, 167-168

add-on program command routing issues, 131

AddSolutionFolder method, 178

AfterClosing event of SolutionsEvent object, 159

AfterKeyPress events, 259-261

alias creation for macros, 97-98

aliases, 44

AnchorPoint property, 253

Any CPU platform, 190

architecture of .NET, 2-3

assemblies

GAC, references to, 172

macros, referencing from, 96

project dependencies settings, 29-30

references to, 171-172

AtEndOf properties of TextPoint, 250

AtStartOf properties of TextPoint, 250

automation mechanism types, 14

automation object model

EnvDTE object hierarchy, 120

macros with, 98

root object of, 120

Категории