Inside Man
Inside Man

Reputation: 4372

How do I make TSpeedButton honor Windows themes?

I have an old app (Delphi 5) which I want to give it some changes.

I have set a manifest for it, but speedbuttons are not following the Windows theme. What should I do?

Upvotes: 5

Views: 727

Answers (3)

IceCold
IceCold

Reputation: 21134

Even though this post is not answering directly your question, MAYBE it will help you somehow:

I agree with others that the easy way will be to upgrade to the latest edition of Delphi. However, this is a fast (if you ignore the UNICODE conversion) but not cheap solution. A cheaper solution (and even faster) may be to 'pimp' your application using a Delphi skin package. Your application may look even better than the 'classic' Windows Vista/7 themes.

Upvotes: 2

Uli Gerhardt
Uli Gerhardt

Reputation: 13991

Delphi 5 doesn't know anything about Windows visual styles (no big surprise :-)). If you really want to stay with D5, your best bet is probably to use Mike Lischke's Windows XP Theme Manager.

Upvotes: 8

David Heffernan
David Heffernan

Reputation: 612864

Your best bet, in my view, is to upgrade to the latest Delphi which fully supports XP themes out of the box. Trying to get a Delphi 5 app to look native on modern Windows is quite a labour (I have done it myself so I speak from experience) and if you can upgrade it will be the least painful route.

Upvotes: 6

Related Questions