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