Nahum Wild said:

> The XP Theme stuff in Delphi 7 is actually a freeware component available
> from this [http://www.lischke-online.de/] site.  Check out the news item
> about is a bit down the main page.

True, but if you look at these components you see that to make it all work
Mike has had to hook the windows event of all the controls to get things to
work. This is required because it is virtually impossible to add the
reuqired event handling into Controls.pas.

So the Delphi 7 code should be a lot better because Borland will have added
the event in question WM_THEMECHANGED and have clean support for it. This
means that all of the ugly hooking goes away and Mikes library as used in
Delphi 7 would reduce down to just the theme manager portion.

As a company with a lot invested in custom controls I really need integrated
theme support to make converting all our controls over into using themed
drawing easy. Otherwise I would end up with a huge number of WM_THEMECHANGED
message handlers scatter all over, along wi ththe complexity of having all
the event hooks in place for the Windows controls we do use. I'd mush rather
have a simple, easy to debug, and supported structure in place before I
spend time getting themes fully supported.

Delphi 7 also has integrated support for the changes to the ImageList
control that has changed if you use the themed controls DLL. The changes are
not compatibile with the previous versions of the ImageList. As this sort of
change has caused all sorts of grief in the past I really want this handled
by Borland and not me.

So in summary if you want to do themes properly you need Delphi 7. Its the
only reason I want it 8-)

Cheers, Max.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to