Rich Edit 2.0 Control can not work in Dialog?

  • Thread starter Thread starter zhang
  • Start date Start date
Z

zhang

I create a project (base dialog) just use the mouse ,It can work if I do
not add "
Rich Edit 2.0 Control".
and the dialog diappeard after I add it.

why???I can not use "Rich Edit 2.0 Control"
??
other control works OK.
 
I create a project (base dialog) just use the mouse ,It can work if I do
not add "
Rich Edit 2.0 Control".
and the dialog diappeard after I add it.

why???I can not use "Rich Edit 2.0 Control"

If you have an MFC application, you need to call AfxInitRichEdit2().

Dave
 
zhang said:
I create a project (base dialog) just use the mouse ,It can work if I do
not add "
Rich Edit 2.0 Control".
and the dialog diappeard after I add it.

why???I can not use "Rich Edit 2.0 Control"


If it's not an MFC app, then the docs state:

"It is necessary to call the LoadLibrary function to load Riched32.dll or
Riched20.dll before the dialog is created."

Mark
 
Back
Top