Share via


BufferDescription.StickyFocus Property (Microsoft.DirectX.DirectSound)

Specifies whether the buffer has sticky focus.

Definition

Visual Basic Public Property StickyFocus As Boolean
C# public bool StickyFocus { get; set; }
C++ public:
property bool StickyFocus {
        bool get();
        void set(bool value);
}
JScript public function get StickyFocus() : boolean
public function set StickyFocus(boolean);

Property Value

System.Boolean
This value is set to true if the buffer has sticky focus; otherwise, false.

This property is read/write. 

Remarks

If the user switches to another application not using Microsoft DirectSound, the application's normal buffers are muted, but sticky focus buffers are still audible.