Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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


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

Return Values

If successful, returns S_OK.


This can be null indicating that no document has focus.


  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.

Community Additions

© 2015 Microsoft