[Mono-dev] Gtk depends on Winforms ¿?

Robert Jordan robertj at gmx.net
Mon Sep 7 07:49:53 EDT 2009


Hi,

Carlos Alberto Cortez wrote:
>> But since Mono's System.Windows.Forms is Open Source [1], why was it
>> again that no one has found out what DoEvents does? ;-)
>>
>> Andreas
>>
>> [1]
>> http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs?view=markup
>>
>>
>>
> We do know what Application.DoEvents do: process pending messages. What we
> don't know is *how* is that affecting Gtk and the visual styles, and our
> implementation of Windows.Forms has then nothing to see in that part.

Some XP versions require that PeekMessage/GetMessage
is invoked at least once before creating a window handle.
Otherwise theming is disabled.

Robert



More information about the Mono-devel-list mailing list