News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Bug using RTF1 or RTF2 control

Started by John Z, October 24, 2025, 04:02:41 PM

Previous topic - Next topic

John Z

Spent days trying to figure out why one of my dialogs would not appear when called.  It kept giving a 1421 "Control ID not found." error, but everything was defined and tested ok in the dialog editor.

In any case it comes down to adding either of the RTF controls to the dialog window. 
Attached is a simple Hello_World project.  Initially it has no RTF control, runs just fine.

Open the project and just drag one of the rtf controls onto the dialog, save everything and rebuild the program. 
On MY system the dialog/program no longer works, corrupted somehow. 
Go back and remove the rtf control rebuild again and everything is fine.

Help verifying that it is not just on my system will be appreciated....

John Z

TimoVJL

Interesting problem.
Remember to load richedit dll too.

I add richedit 2.0 control t tiny Dlg example and it works.

May the source be with you

John Z

Thanks very much Timo!

My oversight - works now.  I won't forget again after spending so much time -

Appreciate the assist!

John Z