Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help me with storage problem! Pin
davvid3-Jan-07 14:47
davvid3-Jan-07 14:47 
QuestionHandle of an item in tree view. Pin
priyank_ldce3-Jan-07 5:07
priyank_ldce3-Jan-07 5:07 
AnswerRe: Handle of an item in tree view. Pin
led mike3-Jan-07 5:54
led mike3-Jan-07 5:54 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:27
Ray Kinsella3-Jan-07 6:27 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:16
led mike3-Jan-07 8:16 
AnswerRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:22
Ray Kinsella3-Jan-07 6:22 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:14
led mike3-Jan-07 8:14 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 11:15
Ray Kinsella3-Jan-07 11:15 
The best solution for a large tree is to manage the data yourself, I can't quiet remember how you set it up, but it works through a series of calls backs, thats highest performance solution, as you are only storing the data once, so there is only one set of data to maintain. That solution would probabily work quiet well with the map you suggested earlier.

Another better solution I think would be to use the extended information the treeview lets you set on an item to refer to an memory structure of some description, you could then traverse the memory structure much more quickly. I suppose what I am really trying to say is that if you are searching the treeview for a string for whatever reason you probabily need to step back and ask why you are doing this. There is usually a better solution, you shouldn't be engaging in string comparisions unless you absolutely have to.

Regards

Ray

"Je Suis Mort De Rire"
Blogging @ Keratoconus Watch


QuestionMFC /CRecordset Pin
Bravoone_20063-Jan-07 3:13
Bravoone_20063-Jan-07 3:13 
QuestionRe: MFC /CRecordset Pin
David Crow3-Jan-07 4:11
David Crow3-Jan-07 4:11 
AnswerRe: MFC /CRecordset Pin
Hamid_RT3-Jan-07 17:36
Hamid_RT3-Jan-07 17:36 
Questionbeginners inc++ Pin
ellarond3-Jan-07 3:06
ellarond3-Jan-07 3:06 
AnswerRe: beginners inc++ Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
AnswerRe: beginners inc++ Pin
David Crow3-Jan-07 4:13
David Crow3-Jan-07 4:13 
GeneralRe: beginners inc++ Pin
ellarond3-Jan-07 5:15
ellarond3-Jan-07 5:15 
QuestionRe: beginners inc++ Pin
David Crow3-Jan-07 5:31
David Crow3-Jan-07 5:31 
AnswerRe: beginners inc++ Pin
ellarond3-Jan-07 6:16
ellarond3-Jan-07 6:16 
GeneralRe: beginners inc++ Pin
David Crow3-Jan-07 7:42
David Crow3-Jan-07 7:42 
GeneralOT Pin
Astricks3-Jan-07 3:05
Astricks3-Jan-07 3:05 
GeneralRe: OT Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
GeneralRe: OT Pin
Astricks3-Jan-07 5:24
Astricks3-Jan-07 5:24 
GeneralRe: OT Pin
toxcct3-Jan-07 10:23
toxcct3-Jan-07 10:23 
GeneralRe: OT Pin
Astricks3-Jan-07 19:51
Astricks3-Jan-07 19:51 
QuestionResize a control programatically Pin
Fabricem3-Jan-07 3:01
Fabricem3-Jan-07 3:01 
AnswerRe: Resize a control programatically Pin
CPallini3-Jan-07 3:27
mveCPallini3-Jan-07 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.