Click here to Skip to main content
16,006,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetClipboardViewer Pin
Rage25-Jun-02 22:09
professionalRage25-Jun-02 22:09 
GeneralWin32 Tree Question Pin
NullStream25-Jun-02 17:47
NullStream25-Jun-02 17:47 
GeneralRe: Win32 Tree Question Pin
Michael Dunn25-Jun-02 17:51
sitebuilderMichael Dunn25-Jun-02 17:51 
GeneralRe: Win32 Tree Question Pin
NullStream25-Jun-02 19:01
NullStream25-Jun-02 19:01 
GeneralRe: Win32 Tree Question Pin
Rage25-Jun-02 22:39
professionalRage25-Jun-02 22:39 
GeneralRe: Win32 Tree Question Pin
Roger Broomfield26-Jun-02 0:52
Roger Broomfield26-Jun-02 0:52 
GeneralRe: Win32 Tree Question Pin
NullStream26-Jun-02 1:24
NullStream26-Jun-02 1:24 
GeneralRe: Win32 Tree Question Pin
Roger Broomfield26-Jun-02 3:25
Roger Broomfield26-Jun-02 3:25 
Sean,
Either way is messy, keeping a copy of the structure in memory or using the control.

Look to continuously call TreeView_GetParent() until it returns NULL. If you use a loop you will need to insert the parent item's text at the beginning of the buffer each time. If you use a recursive function call then you can build the string by appending each item's text on the way back out of the recursive function.

GeneralRe: Win32 Tree Question Pin
NullStream26-Jun-02 21:45
NullStream26-Jun-02 21:45 
Generallinking errors LNK2001 Pin
Dee25-Jun-02 17:21
Dee25-Jun-02 17:21 
GeneralRe: linking errors LNK2001 Pin
Christian Graus25-Jun-02 19:47
protectorChristian Graus25-Jun-02 19:47 
QuestionHow to change the size of a splitview? Pin
aldeba25-Jun-02 16:44
aldeba25-Jun-02 16:44 
AnswerRe: How to change the size of a splitview? Pin
aldeba25-Jun-02 16:54
aldeba25-Jun-02 16:54 
QuestionDirectly creating a CFormView as a child? Pin
DerekSaw25-Jun-02 16:34
DerekSaw25-Jun-02 16:34 
AnswerRe: Directly creating a CFormView as a child? Pin
aldeba25-Jun-02 16:45
aldeba25-Jun-02 16:45 
AnswerRe: Directly creating a CFormView as a child? Pin
DerekSaw25-Jun-02 16:52
DerekSaw25-Jun-02 16:52 
GeneralRe: Directly creating a CFormView as a child? Pin
aldeba25-Jun-02 19:58
aldeba25-Jun-02 19:58 
GeneralRe: Directly creating a CFormView as a child? Pin
DerekSaw25-Jun-02 22:06
DerekSaw25-Jun-02 22:06 
GeneralRe: Directly creating a CFormView as a child? Pin
Michael P Butler25-Jun-02 22:28
Michael P Butler25-Jun-02 22:28 
GeneralUse of class template Pin
Coremn25-Jun-02 16:22
Coremn25-Jun-02 16:22 
GeneralRe: Use of class template Pin
Joaquín M López Muñoz25-Jun-02 20:09
Joaquín M López Muñoz25-Jun-02 20:09 
GeneralHTTP Mime Post Parser Pin
25-Jun-02 14:14
suss25-Jun-02 14:14 
GeneralRe: HTTP Mime Post Parser Pin
26-Jun-02 7:20
suss26-Jun-02 7:20 
GeneralErrors Pin
25-Jun-02 13:42
suss25-Jun-02 13:42 
GeneralpDC->GetTextExtent() returns different results at different times Pin
JennyP25-Jun-02 13:36
JennyP25-Jun-02 13:36 

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.