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. General Programming
  3. C / C++ / MFC
  4. CEditView MFC app

CEditView MFC app

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
3 Posts 2 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.
  • J Offline
    J Offline
    Jay Hova
    wrote on last edited by
    #1

    Hi, Created a MFC app that uses the CEditView as a base class. I wanted to know if it was possible to insert text on the editor that pops up automatically. If it is, can i make it so that it comes up on each editor window that comes up? Also, is there a way to change the app from a multiple document app to just a single document app without starting over? Thanks in advance.

    I 1 Reply Last reply
    0
    • J Jay Hova

      Hi, Created a MFC app that uses the CEditView as a base class. I wanted to know if it was possible to insert text on the editor that pops up automatically. If it is, can i make it so that it comes up on each editor window that comes up? Also, is there a way to change the app from a multiple document app to just a single document app without starting over? Thanks in advance.

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      Lookup CView / CEditView :: OnInitialUpdate (). This would be an ideal place for a "SetText (...)". It is possible to switch to an SDI configuration, but I can't remember all the steps. If you have a lot of code you don't want to simply copy across, create a blank SDI and a blank MDI app, and compare the two to get the information you want. Iain

      J 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        Lookup CView / CEditView :: OnInitialUpdate (). This would be an ideal place for a "SetText (...)". It is possible to switch to an SDI configuration, but I can't remember all the steps. If you have a lot of code you don't want to simply copy across, create a blank SDI and a blank MDI app, and compare the two to get the information you want. Iain

        J Offline
        J Offline
        Jay Hova
        wrote on last edited by
        #3

        There is not an OnInitialUpdate() in my program. I did not see it in class wizard either. Could you possibly explain to me in more detail? Is there another way to do this? thanks again for your help.

        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