Deep Dive document download for the Running Document Table Event Explorer sample included in the VS SDK.
Introduction
The Running Document Table plays a central role in managing the open documents within the VS Shell. Understanding what RDT is and how it works is crucial to understanding how to create custom editors, designers or project systems.
This VS SDK sample gives you a great tool that can be used to discover how the Running Document Table works in the VS Shell. So, not only the source code, but the functionality is also very useful. After going through this deep dive you will have a detailed picture about RDT and its role:
What is the role of the Running Document Table?
How RDT is used within the shell?
How RDT events are hooked up?
Which document events are caught by RDT and how to subscribe to them?
How event properties are displayed?
To understand concepts treated here it is assumed that you are familiar with the idea of VSPackages and you know how to build and register very simple (even non-functional) packages. To get more information about packages, please take a look at the Package Reference Sample (C# Reference.Package sample).