Need VBA call to display Windows Theme

Rx_

Nothing In Moderation
Local time
Today, 16:09
Joined
Oct 22, 2009
Messages
2,803
On the Windows 7 Developer desktop, the Windows Theme is set to Windows 7.

On the Citrix server (for users) the Windows Theme appears to be Windows 95. It is low graphics.
The boxes are square instead of rounded. The selected Form Tabs just barely highlight with a thin line while on Windows 7, the selected Tab completely changes color. A basic Message box in Windows 95 looks square and flat. The title bar is very low graphics as one would expect when graphics were not great.

Is there a VBA call that can display the OS Theme that affects MS Access?


http://support.citrix.com/article/CTX133429
Citrix can support the Windows Theme as explained in this article.
 
I may have seen something like this in the Code Sample or Sample Databases section. Worth having a look there.
 
Found this old article that explains the problem for Theme:
http://office.microsoft.com/en-us/a...-themes-in-controls-on-forms-HA010174334.aspx
still looking for updated solution.
The checkbox didn't seem to matter on my workstation or on the server.
My Windows 7 workstation has formatting, server does not.
Regardles of if this is checked or not.


Found the problem with Access XP moving up to Access 2K, Allen Browne responded:
http://bytes.com/topic/access/answers/822311-transparent-tabcontrol-a2k7-windows-xp
However, this is not the case with Access 2010. With Access 2010 open on my Windows 7 development workstation, File Options Database - checking the Windows Theme on / off doesn't matter. It displays as Windows 7.
On the Windows 64 bit Server (that runs Access for Citrix), it can also be turned on/off. It doesn't matter.


Here is a download page, the last item calls Windows Functions and puts them into a nice interface. Of course it didn't include Theme.
I may have to come back and modify one of these funcitons.

http://gainingaccess.net/GainingAccess/FreeDownloads.aspx

The Attached sample didn't work on my Access 2010 Windows 7 platform.
However, the code is exposed for many Windows API.
Now, if I can find the API call for Windows Theme
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom