Frank Richter wrote:
Hi,
to see how easy (or not) it would be to make the controls use themes,
I tried to get themed buttons; the result is the attached patch (to
try it out, you need an .msstyles file and appropriate registry
setup). It's probably not perfect as it is, comments/questions are
welcome.
Index: dlls/user/Makefile.in
===================================================================
RCS file: /home/wine/wine/dlls/user/Makefile.in,v
retrieving revision 1.88
diff -u -r1.88 Makefile.in
--- dlls/user/Makefile.in 10 Mar 2005 15:47:53 -0000 1.88
+++ dlls/user/Makefile.in 21 Mar 2005 18:46:31 -0000
+ case WM_THEMECHANGED:
+ theme = get_button_theme( hWnd );
+ if ( theme != NULL )
+ CloseThemeData ( theme );
+ theme = OpenThemeData( hWnd, themeClass );
+ set_button_theme( hWnd, theme );
+ break;
+
Where you using a native theme DLL or the builtin one? If native which
one where you using? How did you Isolate it, I mean how many dll's,
files, and registry is it.
Free Life
Boaz