select item using path
-
hi, How to select a item in a tree control if i know path of that particular item.
-
hi, How to select a item in a tree control if i know path of that particular item.
yuvachandra wrote:
i know path of that particular item
Whats does this mean ? Is it text displayed ? You need to traverse tree control items inorder to go to particlular node and select it.
Prasad Notifier using ATL | Operator new[],delete[][^]
-
yuvachandra wrote:
i know path of that particular item
Whats does this mean ? Is it text displayed ? You need to traverse tree control items inorder to go to particlular node and select it.
Prasad Notifier using ATL | Operator new[],delete[][^]
i have a path D:\New\NewFolder.Now i have to select the item which contains the text NewFolder.How can i do it.
-
i have a path D:\New\NewFolder.Now i have to select the item which contains the text NewFolder.How can i do it.
yuvachandra wrote:
i have a path D:\New\NewFolder.Now i have to select the item which contains the text NewFolder.How can i do it.
I am assuming D: is root Node and you first have to find New Under it using GetChildItem and GetNextItem and comparing the text with New, after you find Text New, GetChildItem and GetNextItem to Find NewFolder, using TreeHandle you got from search use SelectItem select that item
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You