// JP opened flex table

Click to See Complete Forum and Search --> : Rich Edit Control Causes DoModal to Fail


dstucki
November 29th, 2000, 04:58 PM
When a new Dialog application is created through the AppWizard it compiles and runs fine. When I add a rich edit control from the control toolbar, this causes DoModal() to fail. Why does this happen?

Thanks in Advance,
Dave

Alex Fedotov
November 30th, 2000, 12:41 AM
Probably you forgot to load riched32.dll before calling DoModal.
RichEdit window class is registered when riched32.dll loads. If
it is not loaded, DoModal will fail.

//JP added flex table