Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
With TVM_GETITEM, you can get several items of information about the items, including the text.
Check out the TVITEM struct and the TVITEM.mask (TVIF_TEXT), TVITEM.pszText, and
TVITEM.cchTextMax members.

I believe you'll need to use TVM_GETNEXTITEM (with TVGN_ROOT, TCGN_NEXT, etc) to traverse the
tree getting the handles to pass to TVM_GETITEM.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

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 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Mark Salsbery8-May-07 10:37
Mark Salsbery8-May-07 10:37 

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.