次の方法で共有


FRAMEPREFERENCES2 Structure

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

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

Syntax

'宣言
Public Structure FRAMEPREFERENCES2
public struct FRAMEPREFERENCES2
public value class FRAMEPREFERENCES2
[<Sealed>]
type FRAMEPREFERENCES2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The FRAMEPREFERENCES2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field fHorzScrollbar Determines whether the frame should display a horizontal scroll bar for views.
Public field fVertScrollbar Determines whether the frame should display a vertical scroll bar for views.

Top

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

Microsoft.VisualStudio.TextManager.Interop Namespace