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. Rich Edit control programming in C

Rich Edit control programming in C

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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.
  • S Offline
    S Offline
    SAK
    wrote on last edited by
    #1

    Does anyone know of a good reference on using a Rich Edit control 2.0 in a dialog application written in C. Currently if I place a rich edit box in my applicatoin is does not start but if I remove the rich edit control from the dialog form the application starts. Not sure what I am doing wrong? Any help would be most appreciated. If someone has some sample code the use Rich Edit box in c, it will be a great help. Regards, SAK

    J 1 Reply Last reply
    0
    • S SAK

      Does anyone know of a good reference on using a Rich Edit control 2.0 in a dialog application written in C. Currently if I place a rich edit box in my applicatoin is does not start but if I remove the rich edit control from the dialog form the application starts. Not sure what I am doing wrong? Any help would be most appreciated. If someone has some sample code the use Rich Edit box in c, it will be a great help. Regards, SAK

      J Offline
      J Offline
      jhaga
      wrote on last edited by
      #2

      What you need to do is call AfxInitRichEdit() in your app's InitInstance() function. jhaga CodeProject House, Paul Watson wrote: ...and the roar of John Simmons own personal Nascar in the garage. Meg flitting about taking photos.Chris having an heated arguement with Colin Davies and .S.Rod. over egian values. Nish manically typing *censur*. Duncan racing around after his pet *c.* Michael Martin and Bryce loudly yelling *c.* C.G. having a fit as Roger Wright loads up *c.* . Anna waving her *c.* and Deb scoffing chocolates in the corner. ...Good heavens!

      S 1 Reply Last reply
      0
      • J jhaga

        What you need to do is call AfxInitRichEdit() in your app's InitInstance() function. jhaga CodeProject House, Paul Watson wrote: ...and the roar of John Simmons own personal Nascar in the garage. Meg flitting about taking photos.Chris having an heated arguement with Colin Davies and .S.Rod. over egian values. Nish manically typing *censur*. Duncan racing around after his pet *c.* Michael Martin and Bryce loudly yelling *c.* C.G. having a fit as Roger Wright loads up *c.* . Anna waving her *c.* and Deb scoffing chocolates in the corner. ...Good heavens!

        S Offline
        S Offline
        SAK
        wrote on last edited by
        #3

        Jhaga, Thank you for the reply, I think AfxInitRichEdit is only is used when programming MFC, at least that is what the MSDN documentation seemed to say. Do I need to include a particular library, header? Is there an equivalent in 'c'. I tried search through google...can find much on programming richedit in c. Regards, SAK

        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