Skip to main content
GameDev.net gamedev.net
🔒 Locked

Rich edit

Started by Programmer16 Aug 3, 2005 at 4:31 PM 2 replies 650+ views
Original Post
Programmer16
Programmer16
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.
RobTheBloke
RobTheBloke
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....)
RobTheBloke
RobTheBloke
Quote:
Original post by Colin Jeanne Most other editors probably use Scintilla for their syntax highlighting purposes.


seconded.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.