Questions tagged [windows-themes]

36 questions
78
votes
7 answers

Eclipse's Package explorer background color follows windows theme. I want to change the color without changing windows' theme. Possible?

Maybe a way to alter the colors locally (as in application dependant)? A background color of eclipse is white, the same white of windows' active window background color. If I change the color on the theme, eclipse changes to the color. I want to…
navand
  • 1,379
  • 1
  • 16
  • 20
7
votes
2 answers

Windows 10 Close, Minimize and Maximize buttons

to paint themed button I use this code: var h: HTHEME; begin if UseThemes then begin SetWindowTheme(Handle, 'explorer', nil); h := OpenThemeData(Handle, 'WINDOW'); if h <> 0 then try DrawThemeBackground(h, Canvas.Handle,…
Alex Egorov
  • 907
  • 7
  • 26
6
votes
3 answers

Is there a list of valid parameter combinations for GetThemeColor / Visual Styles API

I am trying to retrieve the background and text color of the taskbar and/or my applications main window. It turned out, that Windows 7 does not return the correct colors. If i i.e. switch to a pink theme, Windows 7 still returns light blue for…
RED SOFT ADAIR
  • 12,032
  • 10
  • 54
  • 92
5
votes
3 answers

How do I make TSpeedButton honor Windows themes?

I have an old app (Delphi 5) which I want to give it some changes. I have set a manifest for it, but speedbuttons are not following the Windows theme. What should I do?
Inside Man
  • 4,194
  • 12
  • 59
  • 119
5
votes
1 answer

Notification/subscription method for Windows 10 theme change

As yolu may have noticed, MS introduced a modern kind of 'theming' in Windows 10 regarding the basic OS elements like start menu and taskbar. With newer versions, you can choose a 'light' theme as an alternative to the default black theme. I was…
dfuchs
  • 360
  • 2
  • 8
4
votes
2 answers

Get Windows theme?

I must really know which Windows theme my user is using. More precisely, Classic, XP, Basic or Aero. (Basic theme as in Vista/7 Windows Basic theme) I already know how to find if it's aero, but how about the others? The answer can be in any .NET…
Vercas
  • 8,931
  • 15
  • 66
  • 106
4
votes
1 answer

How can I tell what windows theme I'm using?

I'm trying to make my application force a theme - this is straightforward as shown here: http://arbel.net/blog/archive/2006/11/03/Forcing-WPF-to-use-a-specific-Windows-theme.aspx However, I don't know what theme I'm using now. I'm using the Windows…
Adam S
  • 8,945
  • 17
  • 67
  • 103
4
votes
2 answers

WinAPI progress bar: stop animation?

Is it possible to stop / suppress the "pulsing" animation of the progress bar? (That was introduced with the vista themes IIRC) We have a process that can be paused by the user (to inspect hardware or intermediate results). While there's the usual…
peterchen
  • 40,917
  • 20
  • 104
  • 186
4
votes
2 answers

How to draw the element part in right to left (RTL) direction when drawing with DrawThemeBackground?

I'm trying to draw the ttGlyphClosed element of Explorer::Treeview class in right to left direction (like when the BiDiMode would be bdLeftToRight). I have a problem, that I don't know how to make my offscreen bitmap to be transparent. The bitmap's…
DmitryB
  • 455
  • 1
  • 5
  • 18
3
votes
4 answers

vertical scroll bar not working when using window xp theme (not classic)

This may sound crazy, and i didnt believe it until i saw it for myself. The vertical scroll bar does not scroll when you click in the space between the scroller or the arrows. You have to drag the bar to get it to scroll. This only happens in the…
mkoryak
  • 57,086
  • 61
  • 201
  • 257
3
votes
2 answers

UXTheme: Draw Combobox Chevron Without Border

I'm trying to draw a custom control that should use the "combobox" theme class. Using m_hTheme = OpenThemeData(m_hWnd, _T("COMBOBOX")); auto stateBG = ...; // depends on window state DrawThemeBackground(m_hTheme, ps.hdc, CP_READONLY, stateBG,…
peterchen
  • 40,917
  • 20
  • 104
  • 186
2
votes
3 answers

Clicking a control and causing it to shade

In windows when you click on an icon on your desktop, the icon darkens with a shade that is based on your windows theme that is currently used. I have a custom control that displays an image. I would like to have the same functionality as the…
Billy
  • 2,600
  • 6
  • 31
  • 36
2
votes
1 answer

Force a single application to use windows classic theme when running aero in windows 7

Is it possible to force a single application to use the windows classic them but the rest of windows 7 to use the aero theme? The reason I ask is I am running proficy ifix 5.0 and when I run aero it adds annoying scrollbars to everything as the…
rollsch
  • 2,518
  • 4
  • 39
  • 65
2
votes
1 answer

Change animation theme when system theme is changing in UWP using Lottie

I have a .gif icon which I am trying to set using Lottie in UWP. The icon has two versions for light and dark mode respectively. But I cant change the icon when application theme is changed. I have followed this way, Created a theme dictionary…
Sumnoon
  • 71
  • 7
2
votes
2 answers

Change theme in Windows XP or Windows 7 (silently)

could you please help me? What I need is a method to change the theme on a Windows machine without prompting the user with the display properties (personalization) window. The themechange should apply a .theme file from the…
Phillip
  • 31
  • 1
  • 3
1
2 3