473,327 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Force a Windows XP look

Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having the
Windows Classic Theme running?

Thanks,

Regards,
Maurice
Aug 4 '06 #1
20 2177
"Maurice" <hm*****@nospam.nospama écrit dans le message de news:
Xn****************************@194.109.133.133...

| Is there a way to also use the Windows XP look on a computer having the
| Windows Classic Theme running?

The whole idea of themes is to allow users to choose how their applications
look; you are not in charge of that, they are.

I, for one, would not appreciate an application that looks different to how
I have set and would like to see my applications appear.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Aug 4 '06 #2

Maurice wrote:
Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having the
Windows Classic Theme running?
I haven't tried the exact scenario you describe, but there is an:

Application.EnableVisualStyles

method.

Aug 4 '06 #3
"Maurice" <hm*****@nospam.nospamschrieb:
I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.
Well, have you ever spent a thought on why the user has the ability to
change the theme?! If the user selects the Windows Classic theme he/she
expects applications to use this theme.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Aug 4 '06 #4
Hi Joanna,

the reason I want this is because we are building a product which has a
certain look and feel. We want to preserve this look and feel throughout
the whole GUI of the application.

We designed a specific GUI and don't want this GUI to be changed.


"Joanna Carter [TeamB]" <jo****@not.for.spamwrote in
news:Oy**************@TK2MSFTNGP05.phx.gbl:
"Maurice" <hm*****@nospam.nospama écrit dans le message de news:
Xn****************************@194.109.133.133...

| Is there a way to also use the Windows XP look on a computer having
| the Windows Classic Theme running?

The whole idea of themes is to allow users to choose how their
applications look; you are not in charge of that, they are.

I, for one, would not appreciate an application that looks different
to how I have set and would like to see my applications appear.

Joanna
Aug 4 '06 #5
"Maurice" <hm*****@nospam.nospama écrit dans le message de news:
Xn****************************@194.109.133.133...

| the reason I want this is because we are building a product which has a
| certain look and feel. We want to preserve this look and feel throughout
| the whole GUI of the application.
|
| We designed a specific GUI and don't want this GUI to be changed.

Well, I'm sorry, but that really violates the whole idea of the Windows UI
design guidelines.

People set up Windows to look and feel how *they* want. It is up to you to
allow them to do that; after all it is their computer, not yours.

I have had the displeasure of installing programs like this which take over
my computer's UI settings; they last about 30 seconds before I uninstall
them.

If you really insist on making a "different" look and feel, then I suggest
you look at creating your own skinning options like Media Player, etc. But
do bear in mind that the customer is always right, and if they don't like
the appearance, they will simply change it or ditch the program. You could
well be shooting yourself in the commercial foot insisting on this
"feature".

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Aug 4 '06 #6
The user has chosen their theme as it has a certain look and feel. They
want to preserve this look and feel throughout the whole GUI of the
operating system.

The user has selected a specific GUI and do not want this GUI to be changed.

D

Maurice wrote:
Hi Joanna,

the reason I want this is because we are building a product which has a
certain look and feel. We want to preserve this look and feel throughout
the whole GUI of the application.

We designed a specific GUI and don't want this GUI to be changed.


"Joanna Carter [TeamB]" <jo****@not.for.spamwrote in
news:Oy**************@TK2MSFTNGP05.phx.gbl:
>"Maurice" <hm*****@nospam.nospama écrit dans le message de news:
Xn****************************@194.109.133.133. ..

| Is there a way to also use the Windows XP look on a computer having
| the Windows Classic Theme running?

The whole idea of themes is to allow users to choose how their
applications look; you are not in charge of that, they are.

I, for one, would not appreciate an application that looks different
to how I have set and would like to see my applications appear.

Joanna
Aug 4 '06 #7
I hope not. Why do you want to force the XP look on your users?
You will probably need to draw everything yourself if you want a precise
look, regardless of the user's settings.

/claes

"Maurice" <hm*****@nospam.nospamwrote in message
news:Xn****************************@194.109.133.13 3...
Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having the
Windows Classic Theme running?

Thanks,

Regards,
Maurice

Aug 4 '06 #8
Maurice wrote:
Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having the
Windows Classic Theme running?

Thanks,

Regards,
Maurice
Why would you want to? The concept is that the person choose their PC
to look the classic way so your program should conform to that way.
Aug 4 '06 #9
Hi all,

thanks for the comments.

I just figured out how to solve my problem. Indeed, as mentioned by
Joanna, I will force the look by the use of a skin. A third party tool,
Application Styling, from Infragistics, will work perfect for me. I will
be able to force the GUI with nice round controls, etc.

In my opinion, the Media Player, is exactly doing what I want to do.
Offering the user a nice looking GUI.


Chris <no@spam.comwrote in news:44**************@spam.com:
Maurice wrote:
>Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows
XP Theme selected the controls look nice rounded, etc. just like in
Windows XP.

But if I run the application on a Windows XP computer having the
Windows Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having
the Windows Classic Theme running?

Thanks,

Regards,
Maurice

Why would you want to? The concept is that the person choose their PC
to look the classic way so your program should conform to that way.
Aug 4 '06 #10
Maurice <hm*****@nospam.nospamwrote:
I just figured out how to solve my problem. Indeed, as mentioned by
Joanna, I will force the look by the use of a skin. A third party tool,
Application Styling, from Infragistics, will work perfect for me. I will
be able to force the GUI with nice round controls, etc.

In my opinion, the Media Player, is exactly doing what I want to do.
Offering the user a nice looking GUI.
The user has already had the option of an XP-style UI and turned it off
in order to go to the "classic" theme. Do you believe they've changed
their minds about what they like since they made that choice?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Aug 4 '06 #11
I think your missing the point of themes and skins entirely. They are not
there to force a style but to offer a choice of styles. You forcing a
choice on them may intefere with things like accessibility settings a user
requires. I for one would dump in a flash any application that forced a XP
theme on me that I did not want to see and I always use the classic view.

Regards

John Timney (MVP)
"Maurice" <hm*****@nospam.nospamwrote in message
news:Xn****************************@194.109.133.13 3...
Hi all,

thanks for the comments.

I just figured out how to solve my problem. Indeed, as mentioned by
Joanna, I will force the look by the use of a skin. A third party tool,
Application Styling, from Infragistics, will work perfect for me. I will
be able to force the GUI with nice round controls, etc.

In my opinion, the Media Player, is exactly doing what I want to do.
Offering the user a nice looking GUI.


Chris <no@spam.comwrote in news:44**************@spam.com:
>Maurice wrote:
>>Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows
XP Theme selected the controls look nice rounded, etc. just like in
Windows XP.

But if I run the application on a Windows XP computer having the
Windows Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having
the Windows Classic Theme running?

Thanks,

Regards,
Maurice

Why would you want to? The concept is that the person choose their PC
to look the classic way so your program should conform to that way.

Aug 6 '06 #12
Maurice wrote:
Hi all,

thanks for the comments.

I just figured out how to solve my problem. Indeed, as mentioned by
Joanna, I will force the look by the use of a skin. A third party tool,
Application Styling, from Infragistics, will work perfect for me. I will
be able to force the GUI with nice round controls, etc.

In my opinion, the Media Player, is exactly doing what I want to do.
Offering the user a nice looking GUI.

Do you also give the user the choice to bypass your theme? I hope so,
because users don't only change the theme because they don't like the
look. Some change it out of nescesity. With that I mean people with
visual impairments that want bigger fonts, high contrast themes etc.
When your app is forced to the one theme you as a developer like you're
basically ignoring the needs of those users.

Just my 2 cents.
--
Rinze van Huizen
C-Services Holland b.v
Aug 7 '06 #13
If I take a look at the Media Player (version 9), I get it in a Windows XP
look, nice rounded buttons, etc.

After turning the theme of my computer to 'Windows Classic' and opening the
same Media Player I get the same Windows XP look.


Aug 7 '06 #14
Hi Maurice,

I'm not sure about 2005, but in 2003, if you want the XP look "no matter
what", then you need to use custom controls (created by yourself or purchased
from a third party) that have the XP look.

John

"Maurice" wrote:
Hi all,

I have an application, designed in Visual Studio 2005, which will run
mainly on Windows XP computers.

If I run the application on a Windows XP computer having the Windows XP
Theme selected the controls look nice rounded, etc. just like in Windows
XP.

But if I run the application on a Windows XP computer having the Windows
Classic Theme selected the controls look 'classic' again.

Is there a way to also use the Windows XP look on a computer having the
Windows Classic Theme running?

Thanks,

Regards,
Maurice
Aug 7 '06 #15
Thats may simply be because you dont have any alternate skins installed.
The layout of media player is skin based so you can add extra skins and
change the layout easily. Perhaps thats an approach you might think about
for your application, or perhaps consider adding later but designing for
now.

Regards

John Timney (MVP)
"Maurice" <hm*****@nospam.nospamwrote in message
news:Xn****************************@194.109.133.13 3...
If I take a look at the Media Player (version 9), I get it in a Windows XP
look, nice rounded buttons, etc.

After turning the theme of my computer to 'Windows Classic' and opening
the
same Media Player I get the same Windows XP look.


Aug 7 '06 #16
"Maurice" <hm*****@nospam.nospama écrit dans le message de news:
Xn****************************@194.109.133.133...

| If I take a look at the Media Player (version 9), I get it in a Windows XP
| look, nice rounded buttons, etc.
|
| After turning the theme of my computer to 'Windows Classic' and opening
the
| same Media Player I get the same Windows XP look.

Now try pressing Ctrl-2; you should get the non-XP theme. This is what I
mean by allowing your users choice. You will lose customers if you do not
follow the Windows UI design guidelines and provide a means of letting them
choose.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Aug 7 '06 #17
"Joanna Carter [TeamB]" <jo****@not.for.spama écrit dans le message de
news: O4**************@TK2MSFTNGP02.phx.gbl...

| Now try pressing Ctrl-2; you should get the non-XP theme. This is what I
| mean by allowing your users choice. You will lose customers if you do not
| follow the Windows UI design guidelines and provide a means of letting
them
| choose.

What I meant is that you get an alternative skin which is less XPish.

The difference with Media Player is that it is always skinned, but not
themed.

Theming affects the caption bar, close, minimise, maximise buttons, scroll
bars, etc. It is these things that the user has power over.

However, skinning an application, or the appearance of the window *inside*
the themed frame, is entirely at your discretion. If you really want your
own appearance, then you have to accept that you are only entitled to change
the "canvas" within the window frame, all the rest is not within your power.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Aug 7 '06 #18
Maurice wrote:
If I take a look at the Media Player (version 9), I get it in a Windows XP
look, nice rounded buttons, etc.

After turning the theme of my computer to 'Windows Classic' and opening the
same Media Player I get the same Windows XP look.

IMO that's a flaw in their design. What looks nice to you is impractical
to others. I have no vision problems, but I hate the look of the Media
Player. Nice is in the eye of the beholder. I think it's great that you
want to offer your own design, nothing wrong with that. But give the
user the choice to switch if your design differs from standard OS
layouts/colours for those that don't like it or have useability problems.
--
Rinze van Huizen
C-Services Holland b.v
Aug 8 '06 #19
Hi all,

thank you for replying. I know the right solution now.

Joanna: Indeed I just want the inside of the frame to be the same style no
matter what ('always skinned') . So I had to use the word 'Style' instead
of 'Theme'.
Maurice
Aug 8 '06 #20
Hi Rinze,

all our customers currently prefer the XP-skin. Indeed maybe in future when
we have a customer who doesn't like this XP-look we can put some time in
creating a second non-XP/classical skin. Till that time we want to preserve
the same GUI.

Thx,
Maurice

"C-Services Holland b.v." <cs*@REMOVEcsh4u.nlwrote in
news:So********************@zeelandnet.nl:
Maurice wrote:
>If I take a look at the Media Player (version 9), I get it in a
Windows XP look, nice rounded buttons, etc.

After turning the theme of my computer to 'Windows Classic' and
opening the same Media Player I get the same Windows XP look.


IMO that's a flaw in their design. What looks nice to you is
impractical to others. I have no vision problems, but I hate the look
of the Media Player. Nice is in the eye of the beholder. I think it's
great that you want to offer your own design, nothing wrong with that.
But give the user the choice to switch if your design differs from
standard OS layouts/colours for those that don't like it or have
useability problems.

Aug 8 '06 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ganesh | last post by:
Is there a utility by microsoft (or anyone) to force garbage collection in a process without have access to the process code. regards Ganesh
5
by: Rob Mayo | last post by:
How can I force a MeasureItem message for an owner-dramn menu item? Here is the dilemma. I wrote a lovely little Component for owner-drawing all the menus on a form and making them look like...
8
by: Keith H | last post by:
I'm looking for a way to force the user to re-authenticate with their Windows username/password/domain after clicking the submit button on an ASP.NET page. This is for an internal application. ...
5
by: Richard Myers | last post by:
Hello, I was recently asked how to ensure an app falls over when an exception occurs that has not been caught. The framework will often prompt the user to Quit or continue in such case and...
1
by: Maurice | last post by:
Hi all, I have an application, designed in Visual Studio 2005, which will run mainly on Windows XP computers. If I run the application on a Windows XP computer having the Windows XP Theme...
4
by: vbshanes | last post by:
We use Samba on a SCO Unix box as our file server / backup device. I have a directory mapped as a Windows drive. I read / write files from this remote drive with my VB,net application. This...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.