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

C / C++ / MFC

 
AnswerRe: C# to C++ inter operating Pin
DavidR_r21-Jul-06 20:30
DavidR_r21-Jul-06 20:30 
QuestionGetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 10:29
Roj21-Jul-06 10:29 
AnswerRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 Pin
Richard Andrew x6421-Jul-06 18:36
professionalRichard Andrew x6421-Jul-06 18:36 
GeneralRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 19:01
Roj21-Jul-06 19:01 
GeneralRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 19:29
Roj21-Jul-06 19:29 
QuestionWriting a Windows Service: Need it to start in Safe Mode Pin
chlimouj21-Jul-06 7:26
chlimouj21-Jul-06 7:26 
AnswerRe: Writing a Windows Service: Need it to start in Safe Mode Pin
Zac Howland21-Jul-06 9:17
Zac Howland21-Jul-06 9:17 
QuestionTraversing treeview nodes in VC++ .NET Pin
Scorpion_guy21-Jul-06 7:13
Scorpion_guy21-Jul-06 7:13 
I found the code but it is in C#. I tried to convert to VC++ in .NET but I was getting error for the following:
"tview.Nodes[k]" The error is in Nodes[k]. Can anyone please let me know how to solve it.
The code I got in C# is below:
<br />
{<br />
//Create a TreeNode to hold the Parent Node<br />
TreeNode temp = new TreeNode();<br />
<br />
//Loop through the Parent Nodes<br />
for(int k=0; k<tview.Nodes.Count; k++) <br />
{<br />
//Store the Parent Node in temp<br />
temp = tview.Nodes[k];<br />
<br />
//Display the Text of the Parent Node i.e. temp<br />
MessageBox.Show(temp.Text);<br />
<br />
//Now Loop through each of the child nodes in this parent node i.e.temp<br />
for (int i = 0; i < temp.Nodes.Count; i++)<br />
visitChildNodes(temp.Nodes[i]); //send every child to the function for further traversa<br />
}<br />


Any other sugesstions for how to traverse all the nodes in a treeview using VC++ .NET will be appreciated


AnswerRe: Traversing treeview nodes in VC++ .NET Pin
Joe Woodbury21-Jul-06 18:02
professionalJoe Woodbury21-Jul-06 18:02 
QuestionCan I change my project name after creating it ? Pin
Cyber Friend21-Jul-06 5:26
Cyber Friend21-Jul-06 5:26 
GeneralRe: Can I change my project name after creating it ? Pin
David Crow21-Jul-06 5:52
David Crow21-Jul-06 5:52 
AnswerRe: Can I change my project name after creating it ? [modified] Pin
baloneyman21-Jul-06 8:20
baloneyman21-Jul-06 8:20 
GeneralRe: Can I change my project name after creating it ? Pin
Cyber Friend22-Jul-06 3:56
Cyber Friend22-Jul-06 3:56 
GeneralRe: Can I change my project name after creating it ? Pin
baloneyman22-Jul-06 22:08
baloneyman22-Jul-06 22:08 
GeneralRe: Can I change my project name after creating it ? Pin
Cyber Friend24-Jul-06 2:43
Cyber Friend24-Jul-06 2:43 
AnswerRe: Can I change my project name after creating it ? [modified] Pin
A_Fa21-Jul-06 19:57
A_Fa21-Jul-06 19:57 
QuestionVisual Studio 2005 & ClassWizard Pin
flippydeflippydebop21-Jul-06 5:22
flippydeflippydebop21-Jul-06 5:22 
AnswerRe: Visual Studio 2005 & ClassWizard Pin
Zac Howland21-Jul-06 5:26
Zac Howland21-Jul-06 5:26 
AnswerRe: Visual Studio 2005 & ClassWizard Pin
kitty521-Jul-06 5:32
kitty521-Jul-06 5:32 
QuestionRe: Visual Studio 2005 & ClassWizard Pin
David Crow21-Jul-06 5:51
David Crow21-Jul-06 5:51 
AnswerRe: Visual Studio 2005 & ClassWizard Pin
flippydeflippydebop21-Jul-06 18:54
flippydeflippydebop21-Jul-06 18:54 
AnswerRe: Visual Studio 2005 & ClassWizard Pin
flippydeflippydebop21-Jul-06 19:08
flippydeflippydebop21-Jul-06 19:08 
QuestionVisual C++ Compiler with Eclipse Pin
pgav21-Jul-06 5:07
pgav21-Jul-06 5:07 
AnswerRe: Visual C++ Compiler with Eclipse [modified] Pin
Zac Howland21-Jul-06 5:22
Zac Howland21-Jul-06 5:22 
QuestionHow to remove the cancel button at the top right of a dialog box. Pin
ashwath200521-Jul-06 5:01
ashwath200521-Jul-06 5:01 

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.