• Advertisement

Archived

This topic is now archived and is closed to further replies.

a quick MFC one

This topic is 5939 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a dialog based MFC project here. The problems is that if I add a RichEdit control to the dialog, it closes immeadiatly when I run it. Any ideas why?

Share this post


Link to post
Share on other sites
Advertisement
Are you calling AfxInitRichEdit() in your app''s InitInstance before you create the dialog?

Share this post


Link to post
Share on other sites
Fill in a CHARFORMAT structure and call SetDefaultCharFormat or SetSelectionCharFormat (depending on what you''re changing).

Share this post


Link to post
Share on other sites

  • Advertisement