Hey, Am 06.09.2009 um 11:55 schrieb Christian Hoff:
> As I said, nobody has ever found out what DoEvents does and why > produces the desired results. We'd really like to avoid loading SWF at > runtime, but so far nobody has come up with a better solution :-) . My assumption would be that DoEvents drains the Win32 message queue by calling non-blocking GetMessage followed by the corresponding message- processing function. Most likely the implementation of EnableVisualStyles broadcasts a message to all the application's windows, which needs to be processed for the settings change to take effect. 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 _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
