__VSOSEFLAGS Enum

Definition

Determines the best standard editor to open and whether to use a dialog box in the process.

This enumeration supports a bitwise combination of its member values.

C++/CX
public enum class __VSOSEFLAGS
Inheritance
__VSOSEFLAGS
Attributes

Fields

Name Value Description
OSE_RDTFLAGS_MASK 1048575

Mask that runs the document tables flags.

OSE_UseOpenWithDialog 268435456

Use a dialog box to determine which editor to use.

OSE_ChooseBestStdEditor 536870912

The environment scans the Editors/{guidEditorType}/Extensions sub-key in the Registry to determine which editor can open the file and has the highest priority for doing so.

OSE_OpenAsNewFile 1073741824

Open as a new file.

Remarks

COM Signature

From vsshell.idl:

cpp#
enum __VSOSEFLAGS  
{  
    OSE_RDTFLAGS_MASK            =  0x000FFFFF,  
    OSE_UseOpenWithDialog        =  0x10000000,  
    OSE_ChooseBestStdEditor  =  0x20000000,  
    OSE_OpenAsNewFile            =  0x40000000,  
};  
typedef DWORD VSOSEFLAGS;  

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022