SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Announces short status text to attached screen readers via a UIA live region.
| VB.NET | object.Announce(Text As String, Kind As SftTreeAnnounceConstants, Assertive As Boolean) |
| VB | object.Announce(Text As String, Kind As SftTreeAnnounceConstants, Assertive As Boolean) |
| C#.NET | void object.Announce(string Text, SftTreeAnnounceConstants Kind, bool Assertive); |
| VC++ | HRESULT object->Announce(_bstr_t Text, enum SftTreeAnnounceConstants Kind, VARIANT_BOOL Assertive); |
| C | HRESULT object->Announce(BSTR Text, enum SftTreeAnnounceConstants Kind, VARIANT_BOOL Assertive); |
object
Text
The status text to announce. An empty string is ignored.
Kind
The kind of announcement.
| Name | Value | Description |
|---|---|---|
| announceSftTreeInfo | 0 | Informational (polite). |
| announceSftTreeSuccess | 1 | Success - an action completed. |
| announceSftTreeWarning | 2 | Warning - notable or important. |
| announceSftTreeError | 3 | Error - an action was aborted or failed. |
Assertive
Defines whether the announcement is delivered assertively.
| Boolean | Description |
|---|---|
| True | The announcement is delivered even if it would normally be dropped. |
| False | The announcement uses the default delivery for its kind. |
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)
