Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//
// view.h
//
#ifndef VIEW_H
#define VIEW_H
class CInputContext;
class CContextView : public ITfContextView, public CComObjectRootImmx { public: CContextView(CInputContext *pic, TsViewCookie vcView); ~CContextView();
BEGIN_COM_MAP_IMMX(CContextView) COM_INTERFACE_ENTRY(ITfContextView) END_COM_MAP_IMMX()
IMMX_OBJECT_IUNKNOWN_FOR_ATL()
// ITfContextView
STDMETHODIMP GetRangeFromPoint(TfEditCookie ec, const POINT *ppt, DWORD dwFlags, ITfRange **ppRange); STDMETHODIMP GetTextExt(TfEditCookie ec, ITfRange *pRange, RECT *prc, BOOL *pfClipped); STDMETHODIMP GetScreenExt(RECT *prc); STDMETHODIMP GetWnd(HWND *phwnd);
private: CInputContext *_pic; TsViewCookie _vcView; DBG_ID_DECLARE; };
#endif // VIEW_H
|