Shoutbox

XP Theme support for Richedit controls - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: XP Theme support for Richedit controls (/showthread.php?tid=35648)

XP Theme support for Richedit controls by Patchou on 12-15-2004 at 06:16 AM

Hey fellow developers!

This code is not directly related to Messenger, however, I'm sure it can be of some use in almost any program that uses Richedit controls and as it also comes from Messenger Plus!, I thought it would have its place here . This class puts Windows XP Theme support in richedit controls so that you don't see their native ugly borders.

You can read the article at:
http://www.codeguru.com/Cpp/W-P/win32/tutorials/article.php/c8729/

Let me know what you think of it! (here if it' bad, on codeguru if it's good 8-))

Patchou


RE: XP Theme support for Richedit controls by Stigmata on 12-19-2004 at 01:18 PM


its a good tutorial, and i will be happy to see more from you


only thing i do not like is how code guru splits it into pages and has the add stupidly placed :)

But that aint your fault is it :)


RE: XP Theme support for Richedit controls by Pr0xY on 12-21-2004 at 02:49 PM

I was looking for something like this a while back but couldn't find it.  Thanks Patchou


RE: XP Theme support for Richedit controls by Mike on 12-21-2004 at 08:46 PM

Doesnt calling the InitCommonControlsEx api and then putting a manifest file in your program's resource, do that?
I guess it doesnt... :-/


RE: XP Theme support for Richedit controls by Millenium_edition on 12-21-2004 at 08:53 PM

quote:
Originally posted by Mike2
Doesnt calling the InitCommonControlsEx api and then putting a manifest file in your program's resource, do that?
I guess it doesnt... :-/
i doubt that's for c++ ^o)
RE: XP Theme support for Richedit controls by Guido on 12-21-2004 at 09:10 PM

quote:
Originally posted by Mike2
Doesnt calling the InitCommonControlsEx api and then putting a manifest file in your program's resource, do that?
I guess it doesnt... :-/
Not for every control... Plus has had the xp themes manifest since 1.42b but rich text boxes have been unstyled until now.