ITfMouseTracker interface

The ITfMouseTracker interface is implemented by the TSF manager and is used by a text service to manage mouse event notification sinks. An instance of this interface is obtained by querying an ITfContext object for IID_ITfMouseTracker.

Members

The ITfMouseTracker interface inherits from the IUnknown interface. ITfMouseTracker also has these types of members:

Methods

The ITfMouseTracker interface has these methods.

MethodDescription
AdviseMouseSink

Installs a mouse event sink.

UnadviseMouseSink

Uninstalls a mouse event sink.

 

Examples

ITfContext



HRESULT hr;
ITfMouseTracker *pMouseTracker;

hr = pContext->QueryInterface(IID_ITfMouseTracker, (LPVOID*)&pMouseTracker);
if(SUCCEEDED(hr))
{
    //use the ITfMouseTracker interface 
    
    //release the ITfMouseTracker interface 
    pMouseTracker->Release();
}


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

IUnknown
ITfContext

 

 

Show: