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. CRichEditView

CRichEditView

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorialquestion
1 Posts 1 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.
  • L Offline
    L Offline
    LOSTTWARE com
    wrote on last edited by
    #1

    I found out how to turn my MDI into a text interface, but using this: #include class CFDPViewRE : public CRich2EditView { protected: CFDPViewRE(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CFDPViewRE) public: virtual void OnInitialUpdate(); protected: virtual ~CFDPViewRE(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: DECLARE_MESSAGE_MAP() }; For some damn reason, it by default is always bold, if I write in comands for a bold button, then you can highlight text and un bold it, or click the bold button and type non bold text, but when you open the program, the bold button is already checked. I take out all of the code for bold from my program, and still the text is bold. Therefor I started from scratch. The above is all I have really other than the supporting .h file that has no refrences whatsoever to bold or weight or font. I for the life of me can't figure out how to get it so it isn't bold font. Maybe I need to use another type of text thing other than rich text, but I don't know much about this stuff yet. Any ideas? LOSTTWARE.com

    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