FRAMEPREFERENCES Structure

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)

Syntax

'Declaration
Public Structure FRAMEPREFERENCES
'Usage
Dim instance As FRAMEPREFERENCES
public struct FRAMEPREFERENCES
public value class FRAMEPREFERENCES
JScript supports the use of structures, but not the declaration of new ones.

Remarks

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.

Thread Safety

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

See Also

Reference

FRAMEPREFERENCES Members

Microsoft.VisualStudio.TextManager.Interop Namespace