Ouput Help Please!
-
Thanks for all the previous help, My App is in its final stage. I have a reporting module in my app that generates a CTreeCtrl View of all the Work the User has done during their session, and is Serializeable as well. When the User CLick on a Node of the tree I have a function that will output detailed information on the Action. INformation stored in Objects in an Obrray. My Problem is a simple One. Where Can I put My output!!? I can get the text and write the text but what I would like is an ajoined CEdit or Similar CWnd Derived object to output the text to. How can I do this? WHat is the Best Method? I require it to be MultiLine as My output will look like this Date: blaha alblka Computer Name: ksdfjlkasjd Action: COPY FILE STEP 1: OPEN FILE :: SUCCESS!! STEP 2: OPEN DEST :: SUCCESS!! STEP 3: OPEN FILE :: SUCCESS!! and so on. Now Is there a way to use Set Window Text or similar function that will output a MultiLine String or a series of strings.. any help / suggestions would be appreciated. thanks. recurse.org - Recusion For the Rest Of Us.
-
Thanks for all the previous help, My App is in its final stage. I have a reporting module in my app that generates a CTreeCtrl View of all the Work the User has done during their session, and is Serializeable as well. When the User CLick on a Node of the tree I have a function that will output detailed information on the Action. INformation stored in Objects in an Obrray. My Problem is a simple One. Where Can I put My output!!? I can get the text and write the text but what I would like is an ajoined CEdit or Similar CWnd Derived object to output the text to. How can I do this? WHat is the Best Method? I require it to be MultiLine as My output will look like this Date: blaha alblka Computer Name: ksdfjlkasjd Action: COPY FILE STEP 1: OPEN FILE :: SUCCESS!! STEP 2: OPEN DEST :: SUCCESS!! STEP 3: OPEN FILE :: SUCCESS!! and so on. Now Is there a way to use Set Window Text or similar function that will output a MultiLine String or a series of strings.. any help / suggestions would be appreciated. thanks. recurse.org - Recusion For the Rest Of Us.
A CEdit will show multiple lines if you output \n\r to denote a line end. In fact, you can do this in a static as well, even when you're using the dialog editor. Just type \n\r in your string and you'll get multiple lines. I guess you can therefore use CEdit or CStatic, it's up to you according to the appearance you want, plus the fact that a CEdit takes input ;0) Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.
-
Thanks for all the previous help, My App is in its final stage. I have a reporting module in my app that generates a CTreeCtrl View of all the Work the User has done during their session, and is Serializeable as well. When the User CLick on a Node of the tree I have a function that will output detailed information on the Action. INformation stored in Objects in an Obrray. My Problem is a simple One. Where Can I put My output!!? I can get the text and write the text but what I would like is an ajoined CEdit or Similar CWnd Derived object to output the text to. How can I do this? WHat is the Best Method? I require it to be MultiLine as My output will look like this Date: blaha alblka Computer Name: ksdfjlkasjd Action: COPY FILE STEP 1: OPEN FILE :: SUCCESS!! STEP 2: OPEN DEST :: SUCCESS!! STEP 3: OPEN FILE :: SUCCESS!! and so on. Now Is there a way to use Set Window Text or similar function that will output a MultiLine String or a series of strings.. any help / suggestions would be appreciated. thanks. recurse.org - Recusion For the Rest Of Us.
for that kind of output i use a listbox or listctrl --- "every year we invent better idiot proof systems and every year they invent better idiots"