By the way, I assume you have the ability to edit the version 5 project so you can add the 'xpman' statement to your uses clause. Then recompile the exe and it will look like xp on any machine.
Mark
Main Topics
Browse All TopicsI was under the impression that I could take a Delphi 5 windows application and port it to Delphi 6 to nativel;y support XP-style dialogs menus, etc. However, when I got done oprting it and had someone run the exe on an xp box the same scrollbars were popping up on dialogs, etc. Does Delphi 6 really support XP style components and if so what more do I have to besides recompiling the app in Delphi 6?
Thanks
aw
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
No, that's only work for xp
if you would skin your appication to look like XP in all windows edition even in 9x, then you have to use separate components for that, like :
VCLSkin
http://www.link-rank.com/
SuiSkin
http://www.sunisoft.com/su
Question is have one executable.
Have it support XP styles when running on the XP platform. However, I want the app to look like a native win2k or win98 app when running on those platforms without having to detect which version of Windows I am running on.
It sounds like I can have the look ofl XP on all platforms or all old style on all platforms. So is that really the choice all platforms will look like XP or they will look old, which is really bad in XP..Yes/No?
aw
Well to answer that consider the following;
If you use my code it (should) make your exe file look like XP on all platforms.
However, if you want it to look like XP when user is running WinXp and look like standard look when running win95 you would have to first find which version they are running.
For eg; if Opsys = winxp then
uses := add(xpman);
end;
Don't use that code as it is only a demonstration to get my point across.
Sounds to me like you need your exe program to check the version of windows that is executing it then decide to use XPman or not
Mark
Ermm... ARW, you should also take a look at http://www.delphi-gems.com
OK, I had tried to implement xpMan, but discovered quickly that I need to create a WindowsXP resource file. I have not gotten to that yet, because of other priorities. It sounds like DragonSlayer is saying that even if I create the XP Manifest resource file, I am going to have problems. Yes/No?
thanks...I will check out skin component
aw
Yes it sounds like xpman will only work with winXP. I haven't got an older version of windows to test it however, I believe dragonslayer is correct. Sounds like skinning is the only option.
Xpman work in Delphi6 and above although I haven't tested in in version 5 as I no longer have it. In 6 and above there is no need to create a res file as xpman does it for you.
Why don't you upgrade your version of Delphi ? Delphi 6 personal is a free version and what it doesn't come with you can download off the net if need be.
Mark
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
Split between elvin66 and DragonSlayer and mnasman
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
Jacco
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: elvin66Posted on 2005-10-21 at 16:12:22ID: 15136249
in you 'uses' area of the .pas file add xpman
: TObject);
an/
That will turn all your controls into xp type controls.
Eg; Create a blank form and add a button to it.
then....
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, XpMan, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender
begin
Showmessage ('You should see XP style controls !');
end;
end.
// Now run the project and you should be done. You need the file called 'xpman.pas' If you have not got it, go here and download it.
http://www.lfoband.com/xpm
Good Luck
Mark :)