Solved

Rich Edit Control Crashes dialog before it's shown

Posted on 2006-07-13
1
744 Views
Last Modified: 2013-11-13
I'm having a problem using RichEdit 2.0 controls in a MFC dialog application. I'm using MSVC++.NET.
Whenever there's a RichEdit 2.0 control in my main dialog, the dialog fails to show up (probably because OnInitDialog fails).

Anybody know how to properly create this control?
0
Comment
Question by:RageDBL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
yotamsher earned 250 total points
ID: 17103472
this problem is old and very anoying

you need to add the following line:

AfxInitRichEdit();

before you try to show the dialog

here is MS reference:
http://support.microsoft.com/kb/q166132/

Yotam
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question