Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. C / C++ / MFC
  3. Ouput Help Please!

Ouput Help Please!

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ryan Baillargeon
    wrote on last edited by
    #1

    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.

    C L 2 Replies Last reply
    0
    • R Ryan Baillargeon

      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.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R Ryan Baillargeon

        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.

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        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"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups