Export (0) Print
Expand All


Provides frame settings that control whether scroll bars are provided for views.

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


The FRAMEPREFERENCES type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fieldfHorzScrollbarDetermines whether the frame should display a horizontal scroll bar for views.
Public fieldfVertScrollbarDetermines whether the frame should display a vertical scroll bar for views.

This structure provides settings that allow frames to provide horizontal and vertical scroll bars for views. The view can also control whether it provides scroll bars by setting flags in Initialize, but these settings cannot be changed after they are set. In the case of the FRAMEPREFERENCES structure, the multiple-document interface (MDI) child frame provides scroll bars for views in editor windows. Using this approach, scroll bar settings can then be customized by the user.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft