Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3460084
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:11:13+00:00 2026-05-18T10:11:13+00:00

I am using DevExpress skins. I implemented a switch to disable skins manually. I

  • 0

I am using DevExpress skins. I implemented a switch to disable skins manually. I need this basically because of a Terminal server (I need to have a flat look to save on connection bandwith).

Anyway, the manual switch isn’t good because the user must continously use it when using the application locally or remotely. Of course only a user who cares about look.

I would like to leave the manual switch but to add also another automatic
switch that checks the Windows settings for performance (I don’t know how to
tell this in English, anyway, I mean that setting for performance that lets any
version of Windows look, like Windows ’98). I would like (if it is possible) to
have a unique function that works on every Windows version (2K, XP, Vista, 7,
and the server counterparts).

Please note I am not interested in merely knowing whether my system is running in RDP, but whether the performance settings are set for high image quality or not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:11:14+00:00Added an answer on May 18, 2026 at 10:11 am
    // returns the color bit depth (8, 16, 32, ....) on the machine
    // note: it works also for rdp (it returns the color bit depth of
    // the current session, not some default settings on the server)
    function GetBitColorDepth: integer;
    var
      DC: THandle;    // display context
    begin
      DC := GetDC(HWND(nil));
      Result := GetDeviceCaps(DC, BITSPIXEL);
      ReleaseDC(HWND(nil), DC);
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a Firebird Database programmatically using DBExpress. I have done this
I have a project using DevExpress docking components, I create forms in run-time, which
I have D2006 and I am using DevExpress QuantumGrid 6 in a project. I
I am using DevExpress XtraGrid in c#.NET application. I want to disable or set
I am using a DevExpress XtraGrid in my project. I need to set the
I have a query in Delphi using DBExpress TSQLQuery that looks like so ActiveSQL.sql.add('SELECT
Using online interfaces to a version control system is a nice way to have
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using DevExpress's Grid, what the easiest way to implement a delete of a selection
I'm using DevExpress XtraReports in a WinForms application, but could equally apply to other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.