On Tue, Mar 17, 2009 at 11:25 AM, Peter Johanson <pe...@peterjohanson.com> wrote: > I recently solved this by putting the following snippet of SWF before > any of the Gtk# initialization stuff: > > Forms.Application.EnableVisualStyles (); > Forms.Application.DoEvents (); > > This ensured that on the Windows level, the visual style stuff was > enabled properly, which was then picked up by the WIMP theme properly. > > Why this is necessary, and why this works without the above code for > *some* applications is *beyond* me, but my only guess is some codepaths > touching Windows API before WIMP is initialized, and others only after?
That's extremely odd. I've tried adding a visual style-enabling manifest to GTK# apps, which should be equivalent: http://blogs.msdn.com/rprabhu/archive/2003/09/28/56540.aspx It didn't help. -- Michael Hutchinson http://mjhutchinson.com _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list