Board index » delphi » TMainMenu in WindowsXP doesn't look right.

TMainMenu in WindowsXP doesn't look right.

Hi,

Why does the TMainMenu look ugly in Windows XP (It has a light grey border
arounf the menu items)?

Mat.

 

Re:TMainMenu in WindowsXP doesn't look right.


Quote
> Why does the TMainMenu look ugly in Windows XP (It has a light grey border
> arounf the menu items)?

Because Delphi 6 was released well before XP was released.  My guess is
that you will see Delphi 7 be much more XP friendly.

--
Jason Southwell
President & CEO
Arcana Technologies

Re:TMainMenu in WindowsXP doesn't look right.


Does that mean another round of expensive upgrading?

Quote
"Jason Southwell" <ja...@southwell.net> wrote in message

news:3CDC05BE.60608@southwell.net...
Quote
> > Why does the TMainMenu look ugly in Windows XP (It has a light grey
border
> > arounf the menu items)?

> Because Delphi 6 was released well before XP was released.  My guess is
> that you will see Delphi 7 be much more XP friendly.

> --
> Jason Southwell
> President & CEO
> Arcana Technologies

Re:TMainMenu in WindowsXP doesn't look right.


Quote
> Does that mean another round of expensive upgrading?

It's only expensive if you can't make enough money with it.

--
Jason Southwell
President & CEO
Arcana Technologies

Re:TMainMenu in WindowsXP doesn't look right.


I found that if the application is compiled in windows xp the main menu
looks normal.
Any explanations for this behaviour?

Quote
"Jason Southwell" <ja...@southwell.net> wrote in message

news:3CE1388D.60006@southwell.net...
Quote
> > Does that mean another round of expensive upgrading?

> It's only expensive if you can't make enough money with it.

> --
> Jason Southwell
> President & CEO
> Arcana Technologies

Re:TMainMenu in WindowsXP doesn't look right.


The XP appearance is not part of Windows by default.  It's a theme that's
enabled on the user's system.  Yes, the theme's enabled by default when you
install XP, but it can be reverted back to the stock Windows appearance.

As such, the VCL library doesn't utilize the extra function calls defined in
the XP theme interface DLL.  That's why the TMainMenu appears as a stock
main menu.

Information about the XP theme DLL can be found at www.delphi-jedi.org.

Hope this helps.

Ed Wilson
Lead Programmer
Training Technologies, Inc.

Quote
"Matthew" <matt...@datasym.co.uk> wrote in message

news:3ce3a44a$1_2@dnews...
Quote
> I found that if the application is compiled in windows xp the main menu
> looks normal.
> Any explanations for this behaviour?

> "Jason Southwell" <ja...@southwell.net> wrote in message
> news:3CE1388D.60006@southwell.net...
> > > Does that mean another round of expensive upgrading?

> > It's only expensive if you can't make enough money with it.

> > --
> > Jason Southwell
> > President & CEO
> > Arcana Technologies

Other Threads