Results 1 to 9 of 9

Windows Visual Style

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Windows Visual Style

    I've been working on a project that I've been designing in Windows 7. It is very Form driven and the button/background colors have all been set using Windows System colors.

    The end users will be using this project on a Windows Server. It is set to Windows Classic Style by corporate group policy.

    Needless to say the forms look ghastly when they display in the System colors used by Classic.

    So I've been thinking...
    1. UPDATE - SOLVED Would it possible to use API to detect if the OS is using Windows Classic Style?
    2. Would it be possible to calculate (or maybe someone already has) the Palette equivalent of the non-classic style System colors? e.g. say we have System color "Scroll Bars", what is the nearest equivalent in Palette?

    My idea is that I could detect on WB open whether the OS is using Classic Style or not (using answer to #1). If it is then a global variable would be set to indicate this and all UserForms initialize could be set to programatically change their buttons & backgrounds to use the nearest palette equivalent (using answer to #2). Wouldn't look as good but still an improvement over Classic Style color theme!
    Last edited by mc84excel; 04-08-2014 at 06:39 PM. Reason: add solved note to question 1
    *******************************************************

    HELP WANTED! (Links to Forum threads)
    Trying to create reusable code for Custom Events at Workbook (not Application) level

    *******************************************************

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Windows 7 :Windows 7 repair installation without booting into windows?
    By shanew in forum Microsoft Windows Help
    Replies: 0
    Last Post: 11-28-2009, 01:28 AM
  2. UserForm determine WinXP windows style
    By Reinhard Thomann in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2005, 12:06 PM
  3. Range.Resize from Visual Basic in Windows to Excel
    By MMesarch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2005, 12:06 PM
  4. Windows XP, Excel 2000: ODBC driver for Visual FoxPro tables
    By Arvi Laanemets in forum Excel General
    Replies: 0
    Last Post: 01-24-2005, 05:06 AM
  5. [SOLVED] Excel C# programs with Visual Studio .NET on Windows XP Family Edi
    By Hugues Joly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-05-2005, 10:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1