Sign in to follow this  
Programmer16

Rich edit

Recommended Posts

Programmer16    2321
I've been wanting to make an IDE (Its actually going to be a IGDE, Integrated Game Development Enviroment) so that I can customize it. I can't find any tutorials for making/using rich edit controls. I've tried using "rich", "richedit", and a couple other strings as the classname and nothing works. I'd look at the Code::Blocks source code, but it uses wxWidgets and I'd rather use Windows for the first version (since I already know it pretty well.) Right now I'm just looking for a way to create a rich edit text box and color the text.

Share this post


Link to post
Share on other sites
RobTheBloke    2553
make sure you have loaded the richedit dll first, otherwise no string will make a difference. Also make sure you are handling the notify and command messages of the control. As i recall, i spent ages getting it to work, once i had it working, i ditched it in favour of wxWidgets.

Colouring text in a richedit control is not the easiest thing to do btw.

It's probably a waste of time doing it in Win32, you might just as well use wxWidgets straight away. It's much easier and more powerful out of the box than using Win32 directly...

If you really insist on using Win32, then all the info you need can be found with the docs that come with the platform SDK - i still recommend ditching it infavour of wx though.... (if you've used Win32 before, then you'll get what you need done very quickly... it's far easier than Win32....)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this