Export (0) Print
Expand All
Expand Minimize

TextViewInitFlags Enumeration

Specifies view options.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[FlagsAttribute] 
public enum TextViewInitFlags
/** @attribute FlagsAttribute() */ 
public enum TextViewInitFlags
FlagsAttribute 
public enum TextViewInitFlags

 Member nameDescription
VIF_DEFAULTNo view-owned scrollbars, and no forced settings. 
VIF_HSCROLLIndicates that the view should have a horizontal scrollbar. This value is equivalent to WS_HSCROLL from the Platform SDK. Note that this setting is different from the MDI child scrollbars used by the text editor. 
VIF_SET_DRAGDROPMOVEUse drag and drop move setting 
VIF_SET_HOTURLSUse the Hot URLs setting 
VIF_SET_INDENT_MODEUse the auto-indent suppression setting from the VIEWPREFERENCES structure. 
VIF_SET_OVERTYPEUse overtype mode setting. 
VIF_SET_SELECTION_MARGINUse the selection margin setting from the VIEWPREFERENCES structure. 
VIF_SET_STREAM_SEL_MODEObsolete. 
VIF_SET_VIRTUAL_SPACEUse the virtual space setting from the VIEWPREFERENCES structure. 
VIF_SET_VISIBLE_WHITESPACEUse visible white space setting. 
VIF_SET_WIDGET_MARGINIf you wish to force a certain setting upon a view, regardless of the user's editor preference settings, use these flags along with a VIEWPREFERENCES pointer into Initialize method to force a given setting. Use the widget margin setting from the VIEWPREFERENCES structure. 
VIF_UPDATE_STATUS_BARTells the view to update the status bar. 
VIF_VSCROLLIndicates that the view should have a vertical scrollbar. This value is equivalent to WS_VSCROLL from the Platform SDK. 

COM Signature

From textmgr.idl:

Community Additions

ADD
Show:
© 2014 Microsoft