yvo.weidmann

Application.Idle not available in modeless forms

Discussion created by yvo.weidmann on Sep 18, 2011
Latest reply on Feb 28, 2012 by yvo.weidmann
Dear list
I try to use the Application.Idle event to handle to appearance of controls in a Add-In using Windows.Forms with defining the event handler in the constructor of the form:
Application.Idle += new EventHandler(Application_Idle);

Calling the form with (modal)
selectionMutation.ShowDialog()
the event handler is called as soon as the application goes idle.

As soon as I call the form with (modeless)
selectionMutation.Show()
the event is not reaching the form anymore and the event handler will not be called.

Does anyone knows the reason for that and to overcome this problem?

Looking forward to any hint,
Yvo

Outcomes