IAccServerDocMgr::OnDocumentFocus method

Applications that use Text Services Framework call IAccServerDocMgr::OnDocumentFocus to notify the Microsoft 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.

Note  Active Accessibility Text Services is deprecated. Please see Microsoft Windows Text Services Frameworkfor more information on advanced text input and natural language technologies.
 

Syntax

HRESULT OnDocumentFocus(
  IUnknown *punk
);

Parameters

punk

Type: IUnknown*

An interface pointer to the document getting focus.

Return Value

Type: HRESULT

If successful, returns S_OK.

Remarks

This can be null indicating that no document has focus.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header msaatext.h
DLL Msaatext.dll
Redistributable Active Accessibility 2.0 RDK on Windows NT 4.0 with SP6 and later and Windows 98