IDE Constants
The VSConstants class provides constants that are specific to the integrated development environment (IDE) and that were previously defined only in header files.
Logical and Physical Views
Value |
Description |
---|---|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers should pass this value to the OpenStandardEditor method to get the Open With dialog box, in this case on possible Code views. |
|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers pass this value to the OpenStandardEditor method to get the Open With dialog box, in this case populated with possible LOGVIEWID_Debugging debugging views which map to the same view as LOGVIEWID_Code. |
|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers pass this value to the OpenStandardEditor method to get the Open With dialog box, in this case to View Form designer views. |
|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers pass this value to the OpenStandardEditor method to get the Open With dialog box, in this case the default/primary view of the editor factory. |
|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers pass this value to the OpenStandardEditor method to get the Open With dialog box, in this for a document or data text editor view. |
|
GUID_VSStandardCommandSet97 cmdidOpenWith handlers pass this value to the OpenStandardEditor method which prompts the user to choose which user-defined view to use. |
Editor Factory Flags
Value |
Description |
---|---|
An obsolete flag combined bitwise as the first parameter of the CreateEditorInstance method. |
|
Combined bitwise as the first parameter of the CreateEditorInstance, method, this indicates the editor factory should perform necessary fixes. |
|
Combined bitwise as the first parameter of the CreateEditorInstance method, this flag is mutually exclusive of CEF_CLONEFILE. |
|
Combined bitwise as the first parameter of the CreateEditorInstance method, this indicates the editor factory should create the editor without displaying a user interface (UI). |
Visual Studio Errors
Value |
Description |
---|---|
A constant returned by interfaces to asynchronous behavior when the object in question in already busy |
|
An error HRESULT that is specific to Visual Studio for "Incompatible document data". |
|
An error HRESULT that is specific to Visual Studio and that indicates "Package not loaded." |
|
An error HRESULT that is specific to Visual Studio and that indicates that the "Project already exists." |
|
An error HRESULT that is specific to Visual Studio and that indicates "Project configuration failed." |
|
An error HRESULT that is specific to Visual Studio and that indicates "Project not loaded." |
|
An error HRESULT that is specific to Visual Studio and that indicates "Solution already open." |
|
An error HRESULT that is specific to Visual Studio and that indicates "Solution not open." |
|
Returned by build interfaces that have parameters for specifying an array from the IVsOutput interface, but the implementation can only apply the method to all outputs. |
|
The CreateEditorInstance method returns this value if the document has a format that cannot be opened in the editor. |
|
An HRESULT value that indicates that the user hit the back button in a Visual Studio wizard. |
Visual Studio Constants
Value |
Description |
---|---|
An error HRESULT that is specific to Visual Studio and that indicates "Project forwarded." |
|
A constant that is specific to Visual Studio for a "Toolbox marker." |
|
A constant that is specific to Visual Studio for broadcasting a notification message via the OnBroadcastMessage method which indicates the beginning of modality. |
|
A constant that is specific to Visual Studio for broadcasting a notification message via the OnBroadcastMessage method that indicates the end of modality. |
|
A constant that is specific to Visual Studio for broadcasting a notification message via the OnBroadcastMessage method indicating that the command bar metrics have changed. |
|
A constant that is specific to Visual Studio that indicates that a cookie has not been set. |
|
A Visual Studio item identifier that represents the absence of a project item. This value is used when there is no current selection. |
|
A Visual Studio item identifier that represents the root of a project hierarchy and is used to identify the entire hierarchy, as opposed to a single item. |
|
A Visual Studio item identifier that represents the currently selected item or items, which can include the root of the hierarchy. |
IVsSelectionEvents
Describes what component of the IDE has just been selected, in an OnElementValueChanged call, for example.
Constant |
Value |
---|---|
0x2 |
|
0x4 |
|
0x3 |
|
0x0 |
|
0x5 |
|
0x1 |
VSSELELEMID
Constants used to indicate a new selection state.
Constant |
Value |
---|---|
2 |
|
7 |
|
4 |
|
6 |
|
3 |
|
0 |
|
5 |
|
1 |
Component Selector Dialog Constants
Constant |
Value |
---|---|
WM_USER + 1280 |
|
WM_USER + 1281 |
|
WM_USER + 1290 |
|
WM_USER + 1287 |
|
WM_USER + 1285 |
|
WM_USER + 1288 |
|
WM_USER + 1286 |
|
WM_USER + 1289 |