Export (0) Print
Expand All
Expand Minimize

TextViewInitFlags Enumeration

Specifies view options.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[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:

Show:
© 2014 Microsoft