ITfLangBarItemMgr::GetItemFloatingRect method (ctfutb.h)
Obtains the bounding rectangle of an item on the language bar.
Syntax
HRESULT GetItemFloatingRect(
[in] DWORD dwThreadId,
[in] REFGUID rguid,
[out] RECT *prc
);
Parameters
[in] dwThreadId
Not currently used. Must be zero.
[in] rguid
Contains the GUID that identifies the item to obtain the bounding rectangle for. This is the item GUID that the item supplies in ITfLangBarItem::GetInfo. This can be a custom value or one of the predefined language bar items.
[out] prc
Pointer to a RECT structure that receives the bounding rectangle in screen coordinates.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
An unspecified error occurred. |
|
prc is invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ctfutb.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |