Вниз
Скачать: CL | DM;

Мастерам деревьев, часть 2: TTreeNodes.GetNode   Найти похожие ветки 

← →
Дмитрий К.К.   (2002-11-02 05:34) [0]

Кто-нибудь пользовался сабжем?
Returns the tree node given the ItemId of the tree node.
Возвращает узел с данным ItemId, где ItemId - есть хэндл узла.
Я ничего понять не могу :(


← →
malkolinge ©   (2002-11-02 10:19) [1]

Сontains a handle that uniquely identifies each node in a tree view.

Delphi syntax:

property ItemId: HTreeItem;

C++ syntax:

__property HTREEITEM ItemId = {read=FItemId};

Description

Use this property to reference the nodes when making Windows API calls or calling the GetNode method of the TTreeNodes that owns the item.


← →
Дмитрий К.К.   (2002-11-02 14:30) [2]


> malkolinge © (02.11.02 10:19)


На примере было бы гораздо более понятнее. Спасибо.


← →
Дмитрий К.К.   (2002-11-04 14:56) [3]

Up!


← →
Polevi ©   (2002-11-04 16:30) [4]

Contains a handle of type HTreeItem that uniquely identifies each node in a tree view.

property ItemId: HTreeItem;

Description

Use this property to reference the nodes when making Windows API calls or calling the GetNode method of the TTreeNodes that owns the item.


← →
Карелин Артем ©   (2002-11-04 17:23) [5]

Используйте это свойство для указания на ветку когда используете вызовы АПИ или вызываете метод GetNode.

А вы используете API или метод GetNode? Я нет... Все деревянные дела спокойно делаются другими методами и свойствами.


← →
Дмитрий К.К.   (2002-11-04 17:34) [6]

Может, еще кто напишет, что "содержит хэндл, который уникально определяет каждый узел дерева"???


← →
Карелин Артем ©   (2002-11-04 17:40) [7]

Собственно я залез в сырцы TTreeNode и добавил переменную Id для уникального определения узла и его места в базе.


← →
Дмитрий К.К.   (2002-11-04 17:43) [8]

2 Карелин Артем

Сорри, ето не Вам было :(
Ето для Polevi


← →
Карелин Артем ©   (2002-11-04 18:04) [9]

:)


← →
Alex4444444444   (2002-11-04 19:05) [10]

Po moim predstavleniyam, esli Vy hotite vyzvat" API (chto-to, ne realizovannoe v Delphi), to nuzhno ispol"zovat" ItemId. Esli eto API vernulo Vam uzel, to ono ego vernulo kak ItemId, i nuzhno ispol"zovat" GetNode. (Nadeyas", chto etot uzel EST" v dereve!) Posmotrite, naprimer, kak rabotayut GetNext... i GetPrev...: oni berut ItemId, vyzyvayut API, i po vozvrashennomu ItemId nahodyat uzel (t.e., proshe govorya, rabotayut ochen" krivo).



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.012 c
3-45704
Ренат
2002-10-23 10:54
2002.11.14
Таблицы foxpro


1-45864
Lahtak
2002-11-05 15:02
2002.11.14
Убить все threads


14-46067
Tornado
2002-10-25 10:36
2002.11.14
Инет


6-46036
Metallica
2002-09-19 19:58
2002.11.14
Почему не загружаются две и более HTTP-страницы одновременно.


8-46013
_alx_
2002-07-24 13:50
2002.11.14
Помогите!!!!!!!! Горю!!!!!!!




   Наверх