IAccServerDocMgr::OnDocumentFocus

Applications that use Text Services Framework call IAccServerDocMgr::OnDocumentFocus to notify the Active Accessibility run time when a document gets or loses focus. The store keeps this information so that clients can access the document that has focus.

HRESULT OnDocumentFocus(
IUnknown* punk);

Parameters

  • punk
    [in] An interface pointer to the document getting focus.

Return Values

If successful, returns S_OK.

Remarks

This can be null indicating that no document has focus.

Requirements

**  Windows NT/2000/XP/Server 2003:** Included in Windows XP and Windows Server 2003.
**  Windows 95/98/Me:** Unsupported.
**  Redistributable:** Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
**  Header:** Declared in Msaatext.h.