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. RichEdit control in dialog boxes

RichEdit control in dialog boxes

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • N Offline
    N Offline
    Naresh Karamchetty
    wrote on last edited by
    #1

    When I tried placing a RichEdit control in a dialog box, the dialog box would not show when its DoModal function was called. When I removed the RichEdit control, the dialog box showed fine. What is really odd is the fact that in another project I had a RichEdit control on a property page, and there the dialog box, RichEdit control and all, displayed normally. Has anyone else had this happen to them? Is there a way to get a popup dialog box with a RichEdit control to display? "What would this country be without this great land of our?" -Ronald Reagan

    C C 2 Replies Last reply
    0
    • N Naresh Karamchetty

      When I tried placing a RichEdit control in a dialog box, the dialog box would not show when its DoModal function was called. When I removed the RichEdit control, the dialog box showed fine. What is really odd is the fact that in another project I had a RichEdit control on a property page, and there the dialog box, RichEdit control and all, displayed normally. Has anyone else had this happen to them? Is there a way to get a popup dialog box with a RichEdit control to display? "What would this country be without this great land of our?" -Ronald Reagan

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      Yu have the AfxInitRichEdit( ); in your CWinApp::initinstance()???? Cheers!!! :-D Carlos Antollini.

      N 1 Reply Last reply
      0
      • N Naresh Karamchetty

        When I tried placing a RichEdit control in a dialog box, the dialog box would not show when its DoModal function was called. When I removed the RichEdit control, the dialog box showed fine. What is really odd is the fact that in another project I had a RichEdit control on a property page, and there the dialog box, RichEdit control and all, displayed normally. Has anyone else had this happen to them? Is there a way to get a popup dialog box with a RichEdit control to display? "What would this country be without this great land of our?" -Ronald Reagan

        C Offline
        C Offline
        Chris Losinger
        wrote on last edited by
        #3

        did you call AfxInitRichEdit();? ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com

        1 Reply Last reply
        0
        • C Carlos Antollini

          Yu have the AfxInitRichEdit( ); in your CWinApp::initinstance()???? Cheers!!! :-D Carlos Antollini.

          N Offline
          N Offline
          Naresh Karamchetty
          wrote on last edited by
          #4

          Didn't do that. Will put that in. Thanks. "What would this country be without this great land of our?" -Ronald Reagan

          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