Click here to Skip to main content
15,877,637 members
Please Sign up or sign in to vote.
1.22/5 (2 votes)
See more:
Does anybody know the keyword written in the resource file for the richtextbox...

Here's an example for edit textbox:

EDITTEXT .......
Updated 2-Mar-23 3:01am

1 solution

If you try to put a RichEdit control on your dialog and examine the resource script, you will see that CONTROL statement is used. :)

The CONTROL statement can be used to define a generic control.
The syntax of this statement is different from the syntax used for other statements:

CONTROL control-text, identifier, class-name, x, y, width, height [, extended-style]

Just use your dialog editor, put a RichEdit control and see what happens in the resource script. Give it a try! :thumbsup:

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900