HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

Announce Method, SftTree Object

Announces short status text to attached screen readers via a UIA live region.

Syntax

VB.NETobject.Announce(Text As String, Kind As SftTreeAnnounceConstants, Assertive As Boolean)
VBobject.Announce(Text As String, Kind As SftTreeAnnounceConstants, Assertive As Boolean)
C#.NETvoid object.Announce(string Text, SftTreeAnnounceConstants Kind, bool Assertive);
VC++HRESULT object->Announce(_bstr_t Text, enum SftTreeAnnounceConstants Kind, VARIANT_BOOL Assertive);
CHRESULT object->Announce(BSTR Text, enum SftTreeAnnounceConstants Kind, VARIANT_BOOL Assertive);

object

A SftTree object.

Text

The status text to announce. An empty string is ignored.

Kind

The kind of announcement.

NameValueDescription
announceSftTreeInfo0Informational (polite).
announceSftTreeSuccess1Success - an action completed.
announceSftTreeWarning2Warning - notable or important.
announceSftTreeError3Error - an action was aborted or failed.

Assertive

Defines whether the announcement is delivered assertively.

BooleanDescription
TrueThe announcement is delivered even if it would normally be dropped.
FalseThe announcement uses the default delivery for its kind.

Comments

The Announce method announces short status text to attached screen readers via a UIA live region.

The text is delivered to attached screen readers (Narrator, NVDA, JAWS) as a live-region notification. It has no visual effect and is a no-op when no assistive technology is listening or when Text is empty.

See Also SftTree Object | Object Hierarchy | Accessibility (Screen Readers)


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.