Click here to Skip to main content
16,005,682 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get handle to main frame in CDocument Pin
GameProfessor8-May-07 18:20
GameProfessor8-May-07 18:20 
GeneralRe: How to get handle to main frame in CDocument Pin
bob169728-May-07 19:29
bob169728-May-07 19:29 
GeneralRe: How to get handle to main frame in CDocument Pin
GameProfessor8-May-07 21:53
GameProfessor8-May-07 21:53 
GeneralRe: How to get handle to main frame in CDocument Pin
bob169729-May-07 1:53
bob169729-May-07 1:53 
GeneralRe: How to get handle to main frame in CDocument Pin
Hans Dietrich8-May-07 21:56
mentorHans Dietrich8-May-07 21:56 
AnswerRe: How to get handle to main frame in CDocument Pin
kanduripavan8-May-07 18:09
kanduripavan8-May-07 18:09 
Questionproblem in remote desktop in VC++ Pin
Moonis Ahmed8-May-07 15:58
Moonis Ahmed8-May-07 15:58 
QuestionHow to get an item by its text in a tree view? Pin
KellyR8-May-07 9:09
KellyR8-May-07 9:09 
Hi,

Here's what I need to do:
I have a tree view control that has a list of strings on it. Those strings can be updated outside of the tree view. When updated outside the tree view, I need to update their strings inside the tree view to match the newly edited strings.

So the question: Is there any way to get an item in a tree view without knowing its handle? Can't I just get it by string or something? I figured I'd just search through the tree view to find the TV_ITEM with the matching string, then update it to the new string with a TVM_SETITEM message. I think this should work just fine, if I could get the TV_ITEM in the first place, but the TVM_GETITEM message only seems to retrieve by handle.

Thanks!

KR

AnswerRe: How to get an item by its text in a tree view? Pin
Mark Salsbery8-May-07 9:42
Mark Salsbery8-May-07 9:42 
GeneralRe: How to get an item by its text in a tree view? Pin
KellyR8-May-07 10:03
KellyR8-May-07 10:03 
QuestionConvert CString tou double (not always...) Pin
johnny__XP8-May-07 9:04
johnny__XP8-May-07 9:04 
AnswerRe: Convert CString tou double (not always...) Pin
Hans Dietrich8-May-07 9:23
mentorHans Dietrich8-May-07 9:23 
AnswerRe: Convert CString tou double (not always...) Pin
ThatsAlok8-May-07 21:15
ThatsAlok8-May-07 21:15 
AnswerRe: Convert CString tou double (not always...) Pin
ThatsAlok16-May-07 20:26
ThatsAlok16-May-07 20:26 
QuestionMain Arguments Pin
TheDelChop8-May-07 8:51
TheDelChop8-May-07 8:51 
AnswerRe: Main Arguments Pin
Mark Salsbery8-May-07 9:30
Mark Salsbery8-May-07 9:30 
GeneralRe: Main Arguments Pin
toxcct8-May-07 13:37
toxcct8-May-07 13:37 
GeneralRe: Main Arguments Pin
Mark Salsbery8-May-07 13:45
Mark Salsbery8-May-07 13:45 
AnswerRe: Main Arguments Pin
ThatsAlok16-May-07 20:26
ThatsAlok16-May-07 20:26 
QuestionC#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 8:39
Software_Specialist8-May-07 8:39 
AnswerRe: C#.net to C++ (simple code conversion) ? Pin
Hamid_RT8-May-07 9:02
Hamid_RT8-May-07 9:02 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 9:09
Software_Specialist8-May-07 9:09 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Hamid_RT8-May-07 9:21
Hamid_RT8-May-07 9:21 
AnswerRe: C#.net to C++ (simple code conversion) ? Pin
Mark Salsbery8-May-07 9:22
Mark Salsbery8-May-07 9:22 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 10:09
Software_Specialist8-May-07 10:09 

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.