|
| БЕСПЛАТНАЯ ежедневная online лотерея! Выигрывай каждый день БЕСПЛАТНО! |
|
|
TVM_GETITEMRECT
The TVM_GETITEMRECT message retrieves the bounding rectangle for a tree-view item and indicates whether the item is visible. You can send this message explicitly or by using the TreeView_GetItemRect macro.
TVM_GETITEMRECT wParam = (WPARAM) (BOOL) fItemRect; lParam = (LPARAM) (RECT FAR*) prc;
Parameters
fItemRect
Value specifying the portion of the item for which to retrieve the bounding rectangle. If this parameter is TRUE, the bounding rectangle includes only the text of the item. Otherwise, it includes the entire line that the item occupies in the tree-view control.
prc
Pointer to a RECT structure that receives the bounding rectangle. The coordinates are relative to the upper-left corner of the tree-view control.
Return Values
If the item is visible and retrieves the bounding rectangle, the return value is TRUE. Otherwise, the message returns FALSE and does not retrieve the bounding rectangle.
See Also
RECT, TreeView_GetItemRect
| Пригласи друзей и счет твоего мобильника всегда будет положительным! |
| Пригласи друзей и счет твоего мобильника всегда будет положительным! |
TVM_GETITEMRECT
Сообщение TVM_GETITEMRECT извлекает прямоугольник bounding для дерева-вида пункта и указывает независимо пункт видимое. Вы можете послать это сообщение явно или используя макро TreeView_GetItemRect.
TVM_GETITEMRECT wParam = (WPARAM) (BOOL) fItemRect; lParam = prc (LPARAM) (RECT ЗНАЧИТЕЛЬНО*);
Параметры
fItemRect
Оцените определяя часть пункта для которого, чтобы извлекать прямоугольник bounding. Если этот параметр является ИСТИНОЙ, прямоугольник bounding включает только текст пункта. В противном случае, это включает целую линию, которую пункт занимает в дерево-вид управления.
prc
Указатель в структуру RECT, которая получает прямоугольник bounding. Координаты - относительно верхнего левого угла дерева-вида управления.
Обратные Величины
Если пункт видимый и извлекает прямоугольник bounding, обратная величина является ИСТИНОЙ. В противном случае, сообщение возвращает ЛОЖЬ и не извлекает прямоугольник bounding.
Смотри Также
RECT, TreeView_GetItemRect
|
|
|
![Русский перевод Win32 API](banner.bmp) |
| |