傳回具有輸入焦點的檔管理員。
語法
HRESULT GetFocus(
[out] ITfDocumentMgr **ppdimFocus
);
參數
[out] ppdimFocus
ITfDocumentMgr介面的指標,該介面會接收具有目前輸入焦點的檔管理員。 如果沒有檔管理員有焦點,則會收到 Null 。
傳回值
這個方法可以傳回下列其中一個值。
| 值 | 描述 |
|---|---|
|
此方法成功。 |
|
沒有檔管理員有焦點。 ppdimFocus 設為 Null。 |
|
ppdimFocus 無效。 |
需求
| 最低支援的用戶端 | Windows 2000 Professional [僅限傳統型應用程式] |
| 最低支援的伺服器 | Windows 2000 Server [僅限桌面應用程式] |
| 目標平台 | Windows |
| 標頭 | msctf.h |
| Dll | Msctf.dll |
| 可轉散發套件 | Windows 2000 專業版上的 TSF 1.0 |