Questions tagged [windows-themes]

36 questions
2
votes
2 answers

How to determine if High Contrast theme is on in Windows 10?

In Windows 10, high contrast theme is the only theme which behaves differently than the default Windows 10 theme with regards to the borders. I want to detect if the user is in High Contrast theme in Windows 10 for this purpose.
2
votes
0 answers

Override WindowsTheme colors for Listbox SelectedItem

I have a listbox that has a custom selected item color as described in this thread. It works great so long as I'm using the Windows 7 theme. If I use the windows classic theme, the background color is dark blue, which makes the black text…
Devin
  • 1,014
  • 1
  • 9
  • 28
1
vote
0 answers

How to change color of selected text for Entry and Editor controls in MAUI.NET

Like in the title. I cleared all styles and still - when the user select text in entry or editor there is coloured background of this selected text. I want to set what colour it would be. How to do that? Right now this is the Windows theme colour…
jaydopartu
  • 63
  • 1
  • 8
1
vote
1 answer

Disable runtime themes not with the GUI project options

I'm looking to control runtime themes in a way that is friendly for version control tools. Be it programmatically, or by some configuration such as a text based manifest file (but not the DPROJ file through the GUI project options). Is there any…
Khorkhe
  • 1,024
  • 1
  • 11
  • 26
1
vote
0 answers

How to reinit Windows Themes in Java Swing application running via RDP if Visual styles was disabled?

I have a Swing application that is running on RDP sandbox. The RDP connection has option 'Visual styles' which is responsible for displaying or ignoring Windows themes. First time I connect with the option checked and run my Swing application. Then…
1
vote
1 answer

WPF Theme resources are not used

In the application I am working on a requirement is to have support for windows themes (Aero, Classic, Luna). I have a few custom controls which I want to respect the current theme. I have created themes-folder and placed…
ThomasAndersson
  • 1,844
  • 12
  • 23
1
vote
0 answers

how to change theme using command prompt

I am working on a desktop app that provide users multiple themes. My requirement is when user click on a theme that should be applied on the desktop. I am using a command line found from here How do I change the current Windows theme…
Anoop Mishra
  • 1,005
  • 2
  • 10
  • 33
1
vote
1 answer

How to inspect Microsoft.Windows.Themes

It's no secret that wpf exposes it's default themes , for example here's a shortened version of how a checkbox template looks xmlns:theme="clr-namespace:Microsoft.Windows.Themes"
eran otzap
  • 12,293
  • 20
  • 84
  • 139
0
votes
0 answers

What should be the structure of ini files to create an .rmskin package from multiple software used

On my windows 10 pc I utilize ux theme patcher, startallback, startisback, 7tsp with ivon an shell themes, msstyles themes, rainmeter, mnmIUI, and JaxCore all together simultaneously to create high personalized 32 layers and interactive desktop…
0
votes
0 answers

callback of registerForActivityResult when calling Activity is in background

I have something as a sequential call to two window/dialog activities B and C (A still remains visible in background) A -> call for result B A -> C I want that whenever B responds and dialog is closed, C is finished as well. (let's say 2 dialogs…
0
votes
1 answer

Does Netbeans support the Windows dark theme?

I've just updated Windows to version 1909 and I'm using the Dark theme. Now, I know there is a dark theme for Netbeans called 'Darcula' but I want to use the Microsoft dark theme. Does Netbeans support this theme?
0
votes
0 answers

How to change theme of treeView component to folders and files icons (windows theme)

I'm using winForm. I'm trying to change the theme of treeView component to windows theme, I saw @David Heffernan answer to this kind of question: How to get Windows native look for the .NET TreeView? but I don't fully understand it. I tried his…
0
votes
0 answers

Why does unchecking "Enable runtime themes" disables select all by Ctrl + A?

I've created a new VCL application and placed a TEdit control on the form. At runtime, I could use Ctrl+A keyboard shortcut to select all the text of the TEdit. As soon as I switched the "Enable runtime themes" option off from the Project Options,…
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
0
votes
3 answers

SetThemeAppProperties disables COM Common Dialogs

Calling SetThemeAppProperties with argument which has flag STAP_ALLOW_CONTROLS unset causes CoCreateInstance for Common Dialogs (or at list File Open Dialog, CLSID_FileOpenDialog) to return error 0x80040111. Sample code is following: HRESULT…
Adam Badura
  • 5,069
  • 1
  • 35
  • 70
0
votes
0 answers

Bug in generated Button control template on Windows 7

I have two computers, one at home and another at work. Both use the same VS2017 Professional ver 15.8.4 but with different OS: One with Windows 10, the other with Windows 7. On both I created a new WPF-Project (.Net Framework 4.5) containing a…