Questions tagged [msstyles]
8 questions
4
votes
2 answers
Apply a custom Visual Style (.msstyle) to a single Winforms app
Is there any way to apply a custom Visual Style (.msstyle) to a Windows Forms application without changing the theme of the entire system? Basically we want our application to maintain the same theme regardless of what has been set in Control Panel.…

luksan
- 7,661
- 3
- 36
- 38
4
votes
3 answers
How to parse an .msstyles file?
I need to extract some bitmaps from an .msstyles file (the Windows XP visual style files) and I'm not sure where to start. I can't seem to find any documentation on how to do it, and the file format seems to be binary and not easily parsed. I have…

Jon Tackabury
- 47,710
- 52
- 130
- 168
1
vote
1 answer
WPF looks win98'ish with custom ms-style
When I apply a custom msstyle on my system (any msstyle) all WPF components change their appearance to this:
Why it's happening?
Any way to solve it?

Gilad Naaman
- 6,390
- 15
- 52
- 82
1
vote
0 answers
View changes to a particular Windows API header file across builds?
vsstyle.h and vssym32.h are the sources of truth for some theme-related information on Windows. Specifically, they include IDs of states and parts of Win32 controls, which can be themed via.msstyles files.
These header files are packaged with Visual…

L. Berger
- 266
- 2
- 15
1
vote
1 answer
Microsoft Word VBA Macro - One Paragraph Find-Replace Styles
I am executing a style search in Microsoft Word using a VBA Macro.
My goal is to perform certain actions once for every style found in the document.
The macro works correctly on documents that have at least two paragraphs, but the macro does not…

user773328
- 323
- 5
- 11
0
votes
2 answers
How do I use GetThemeFont to read font data?
I am trying to use GetThemeFont to read the font data from a visual style, but I can't seem to get it to return anything. Here is how I'm using it:
IntPtr h = OpenThemeData(this.Handle, "Button");
LOGFONT font = new LOGFONT();
int r =…

Jon Tackabury
- 47,710
- 52
- 130
- 168
0
votes
1 answer
Change context style menu windows 10
I managed to interpret a mmstyles file through a tool called "msstylesEditor" but I can't find where I can modify the values for the background and font color of the context menu.
Also if anyone could link me to some tutorials on how to make theme…

Matthieu POIROT
- 37
- 6
0
votes
2 answers
How to apply a .msstyles to a .NET app?
I code GUIs in .NET frequently, and most of them only have the value of being a GUI, e.g. they don't do anything otherwise impossible. So most of the development goes to making them friendly, intuitive and eye-candy.
Then it comes to my mind it…

Camilo Martin
- 37,236
- 20
- 111
- 154