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. Splitter window with RichEditView

Splitter window with RichEditView

Scheduled Pinned Locked Moved C / C++ / MFC
help
2 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.
  • G Offline
    G Offline
    gopalraja
    wrote on last edited by
    #1

    Hi, I have created SDI application from CView base class, Now I want to type charactors on the client area. But it was derived from CView so i couldn't get control. So I have created one CRichEditView class object. But i dont know to create the RichEditView for the currently active window. Pls help me

    S 1 Reply Last reply
    0
    • G gopalraja

      Hi, I have created SDI application from CView base class, Now I want to type charactors on the client area. But it was derived from CView so i couldn't get control. So I have created one CRichEditView class object. But i dont know to create the RichEditView for the currently active window. Pls help me

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      Ummm - why not just change your custom view to derive from CRichEditView? You'll also have to replace CView with CRichEditView in various places in your view's .cpp file, for example, in an IMPLEMENT_DYNCREATE statement, a BEGIN_MESSAGE_MAP statement and where CView methods are called (e.g. your view's PreCreateWindow method will call CView::PreCreateWindow - that should be changed to CRichEditView::PreCreateWindow).

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      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