473,772 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

a2k - detecting display scheme in XP

Just noticed that if a user chooses classic mode in XP the display changes
to a Windows 2000 look. This messes up some aspects of how my forms look.
Is it possible to detect if the user has switched to this mode? I can
detect if the OS is XP but not if they have changed to this display mode.

Thanks (once again).

Martin
Nov 13 '05 #1
3 1258
While it is probably possible to use API calls to ask Windows XP what kind
of theme is active, what right do you have to override the user's choice
just so your program looks the way you think it should?

There may be valid reasons why a user does not want XP themes when working
in Access, e.g.:
- It makes scrollbars unusable and sections of the screen unselectable in
some places in Access.

- It makes it impossible to tell the difference between Null and False in a
triple-state check box.

- It blocks transparency of tab controls.

- It runs poorly on older hardware.

- It causes annoying flicker on some Access forms:
http://members.iinet.net.au/~allenbrowne/ser-46.html

Please consider whether it would be better to respect the user's choice than
to assume that you, as a developer, have the right to make those choices for
them.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Deano" <ma**********@g mail.com> wrote in message
news:41******** *************** @ptn-nntp-reader03.plus.n et...
Just noticed that if a user chooses classic mode in XP the display changes
to a Windows 2000 look. This messes up some aspects of how my forms look.
Is it possible to detect if the user has switched to this mode? I can
detect if the OS is XP but not if they have changed to this display mode.

Nov 13 '05 #2
Allen Browne wrote:
While it is probably possible to use API calls to ask Windows XP what
kind of theme is active, what right do you have to override the
user's choice just so your program looks the way you think it should?

There may be valid reasons why a user does not want XP themes when
working in Access, e.g.:
- It makes scrollbars unusable and sections of the screen
unselectable in some places in Access.

- It makes it impossible to tell the difference between Null and
False in a triple-state check box.

- It blocks transparency of tab controls.

- It runs poorly on older hardware.

- It causes annoying flicker on some Access forms:
http://members.iinet.net.au/~allenbrowne/ser-46.html

Please consider whether it would be better to respect the user's
choice than to assume that you, as a developer, have the right to
make those choices for them.

No I'm happy for them to use whatever scheme and I would not override
anything but I would like to know so I can make a few adjustments to the
form display at runtime.

Nov 13 '05 #3
Fair enough. I don't have the API calls to hand, but you should be able to
find them if you ask in one of the visual basic groups. Perhaps:
microsoft.publi c.vb.winapi

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Deano" <ma**********@g mail.com> replied in message
news:41******** *************** @ptn-nntp-reader03.plus.n et...

No I'm happy for them to use whatever scheme and I would not override
anything but I would like to know so I can make a few adjustments to the
form display at runtime.

Nov 13 '05 #4

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

Similar topics

3
10457
by: adam | last post by:
Hi, I have an issue that i just cant seem to figure out hope some one can help. right i am getting people to input the own images directly into a blob within a mysql database. then on the next page i want to display the image with in a nicely formatted html table so i can put the image where i choose on the page *this code is only putting the image on the top of the page and wont let me output any other text etc*
0
2734
by: Erik Bethke | last post by:
Hello All, I am trying to clean up some polish bugs with the Shanghai game I am working on and I am currently stuck on trying to get the right event for detecting when the user has changed the desktop resolution. I have tried trapping the following events: 1) SDL_ACTIVEEVENT 2) SDL_VIDEOEXPOSE
1
2860
by: Erik Bethke | last post by:
Hello All, I am trying to clean up some polish bugs with the Shanghai game I am working on and I am currently stuck on trying to get the right event for detecting when the user has changed the desktop resolution. I have tried trapping the following events: 1) SDL_ACTIVEEVENT 2) SDL_VIDEOEXPOSE 3) SDL_VIDEORESIZE
0
1330
by: Philippe Poulard | last post by:
I don't know if anybody already designed an URN scheme for XML; here is a proposal: I call it the "XML URN Scheme", or XUS. ========= URNs are logical names used to identify resources. XUS defines an URN Scheme for XML documents that works on a delegation model. As XUS (XML URN Scheme) is used exclusively for XML documents, it uses namespace URIs to identify this scheme and the delegate scheme.
2
1371
by: Sam Kong | last post by:
Hello! We have a company intranet based on ASP (Win2k, IIS 5.0, SQLServer 7.0). For security purpose, my boss wants to block some employees from logging in to our intranet except for from our factory. Our factory has a SBC DSL (one dynamic IP and it's shared). I know how to get the client pc's IP address. But as the IP address is dynamic, I cannot depend on it. Is there a way that I can detect the user is accessing from our factory
2
1370
by: garyusenet | last post by:
Hi i like the Silver XP colour scheme. How do i create my app, so that regardless what XP colour scheme the computer is using, my app uses the silver colour scheme? Thanks, Gary.
79
3794
by: VK | last post by:
I wandering about the common proctice of some UA's producers to spoof the UA string to pretend to be another browser (most often IE). Shouldn't it be considered as a trademark violation of the relevant name owner? If I make a whisky and call it "Jack Daniels", I most probably will have some serious legal problems. "Mozilla" partially appeared because NCSA stopped them from using "Mosaic" in the UA string. Is it some different...
1
1065
by: Tom | last post by:
I need a little validation script to test whether a certain value for a property exists or not: specifically, whether the value "table-row" is a legit value for the style.display property. I'm turning table rows on and off, and CSS2 supported browsers can use "table-row" as a value for style.display, but browsers that don't support CSS2 (like IE 6.0) don't recognize the value "table-row" as being valid (it returns an error). The...
25
3612
by: LeWaltz | last post by:
hi everyone, i am a newbie here, and i have a problem in my programming code... i wanted to make sure that i can only detect positive numbers, and not letters... examles: "abc", "ab100", "-100", "100ab" all these will display a message box "invalid values" however here i have a problem in detecting negative numbers "-100" and also a number followed by letters or characters other than numbers "100ab" (this happens when user accidentally keyed...
0
10264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.