Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Suggestion to members Pin
Hamid_RT1-Sep-07 1:01
Hamid_RT1-Sep-07 1:01 
Questionwhy 2 vfptrs in case of virtual inheritance? Pin
Sameer_Thakur31-Aug-07 19:58
Sameer_Thakur31-Aug-07 19:58 
AnswerRe: why 2 vfptrs in case of virtual inheritance? Pin
Gary R. Wheeler2-Sep-07 4:36
Gary R. Wheeler2-Sep-07 4:36 
Questionconvert path to HTREEITEM [modified] Pin
revanth198531-Aug-07 19:08
revanth198531-Aug-07 19:08 
AnswerRe: path to HTREEITEM Pin
Hamid_RT31-Aug-07 21:27
Hamid_RT31-Aug-07 21:27 
GeneralRe: path to HTREEITEM Pin
revanth198531-Aug-07 22:27
revanth198531-Aug-07 22:27 
GeneralRe: path to HTREEITEM Pin
Hamid_RT1-Sep-07 0:56
Hamid_RT1-Sep-07 0:56 
AnswerRe: convert path to HTREEITEM Pin
Gary R. Wheeler2-Sep-07 4:42
Gary R. Wheeler2-Sep-07 4:42 
You have to use the GetRootItem() and GetNextItem()[^] member functions in the CTreeCtrl class to traverse the nodes in the tree. Use the GetItem() function to retrieve information about each node, including the node's text. Compare the node's text to that part of the 'path'.

For example, if the path is C:\Forest\Orchard\Apple, start at the root and look for the node with the text 'Forest'. Within the nodes attached to the 'Forest' node, look for one with the text 'Orchard', and so on.

I'll give you a hint: a recursive routine is the way to go here.


Software Zen: delete this;

Questionresource,h control definition problem Pin
Caudata31-Aug-07 17:40
Caudata31-Aug-07 17:40 
AnswerRe: resource,h control definition problem Pin
chandu00431-Aug-07 18:15
chandu00431-Aug-07 18:15 
GeneralRe: resource.h control definition problem Pin
Caudata1-Sep-07 14:32
Caudata1-Sep-07 14:32 
AnswerRe: resource,h control definition problem Pin
Caudata1-Sep-07 18:32
Caudata1-Sep-07 18:32 
QuestionTrouble with const Pin
Leslie Sanford31-Aug-07 13:19
Leslie Sanford31-Aug-07 13:19 
AnswerRe: Trouble with const Pin
Mark Salsbery31-Aug-07 13:26
Mark Salsbery31-Aug-07 13:26 
GeneralRe: Trouble with const Pin
Leslie Sanford31-Aug-07 13:41
Leslie Sanford31-Aug-07 13:41 
GeneralRe: Trouble with const Pin
Mark Salsbery31-Aug-07 13:52
Mark Salsbery31-Aug-07 13:52 
QuestionRe: Trouble with const Pin
Mark Salsbery31-Aug-07 13:54
Mark Salsbery31-Aug-07 13:54 
AnswerRe: Trouble with const Pin
Leslie Sanford31-Aug-07 14:22
Leslie Sanford31-Aug-07 14:22 
GeneralRe: Trouble with const Pin
Mark Salsbery31-Aug-07 15:36
Mark Salsbery31-Aug-07 15:36 
GeneralRe: Trouble with const Pin
Leslie Sanford31-Aug-07 16:02
Leslie Sanford31-Aug-07 16:02 
GeneralRe: Trouble with const Pin
Mark Salsbery1-Sep-07 7:05
Mark Salsbery1-Sep-07 7:05 
AnswerRe: Trouble with const Pin
Leslie Sanford31-Aug-07 15:04
Leslie Sanford31-Aug-07 15:04 
GeneralRe: Trouble with const Pin
Mark Salsbery31-Aug-07 15:33
Mark Salsbery31-Aug-07 15:33 
QuestionHow ot verify whether or not a user is a member of a local or domain group? Pin
Homayoun231-Aug-07 13:12
Homayoun231-Aug-07 13:12 
QuestionMFC Control Design Pattern Question Pin
@largeinsd31-Aug-07 10:56
@largeinsd31-Aug-07 10:56 

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.