![]() |
FindItem in CXTTreeBase not very useful |
Post Reply
|
| Author | |
VAGB
Newbie
Joined: 23 November 2004 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: FindItem in CXTTreeBase not very usefulPosted: 03 April 2006 at 10:26am |
|
I have noticed that normal behaviour of the function CXTTreeBase::FindItem is not very useful as it only finds if the text given is included into any itemīs text. So, you can have an item labeld "Text in" and when you use that function to look for the string "Text", it returns the first related item as the word "Text" is completely inside "Text in". I need to detect if there is any item in the tree with a particular label and I need a full comprobation over the text, not only if it is included. For me, the strings "ODBC Drivers" and "ODBC", for example, are different, so for my purposes, FindItem using "ODBC" must return NULL, not the HTREEITEM of "ODBC Drivers". |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |