The skinning works beautifully :a3:
Some minor concerns:
I noticed some problems with some skins:
- The following skins have no contrast between highlighted text and highlighted background, making the text unreadable: DarkMetro, DarkMetro_contrast, MacOS2, Matrix, Matrix_contrast, Ubuntu, Underwater, Winter2003
- The next skins have no distinction between a normal background and a highlighted background making selection disappear: Emerald, Nautilus, Nautilus_contrast, Steam, Steam2.
You can verify both in this project: [attachment=6901:acSetSysColor.zip]
Ideally the selection should look the same as the highlight in the drop down list of the combobox.
The way you place the hook may not work in all cases. The docs say that in order to be able to use WriteProcessMemory, “The handle must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process”. I'm not sure that's always true. You may have to call GetSecurityInfo and SetSecurityInfo as per this msdn article.
All in all it's a great effort already :a3: