
Hi!
I've created simple WPF application and added such a code:
int _count = 0;
System.Windows.Interop.ComponentDispatcher.ThreadIdle += delegate
{
++_count;
Trace.WriteLine("ThreadIdle [" + _count + "]");
};
ThreadIdle event triggers in the expected way (e.g. it happens after mouse moved upon window and is not triggered without user activity).
However, once Actipro WPF Studio was added into the application ThreadIdle event become happened too often even without user activity (the Docking & MDI (for WPF) Support was integrated namely).
Spy++ tool shows that window is flooded by "MilChannelNotify" (0xC28D) registered windows message (several messages per second happened).
So, I have several questions:
1. Is WPF Studio really posts "MilChannelNotify" registered messages into the window?
2. Can it be due to a trial version of WPF Studio and will it be absent in licensed one?
3. If not, how to gain the proper Idle event?
Thanks.
I've created simple WPF application and added such a code:
int _count = 0;
System.Windows.Interop.ComponentDispatcher.ThreadIdle += delegate
{
++_count;
Trace.WriteLine("ThreadIdle [" + _count + "]");
};
ThreadIdle event triggers in the expected way (e.g. it happens after mouse moved upon window and is not triggered without user activity).
However, once Actipro WPF Studio was added into the application ThreadIdle event become happened too often even without user activity (the Docking & MDI (for WPF) Support was integrated namely).
Spy++ tool shows that window is flooded by "MilChannelNotify" (0xC28D) registered windows message (several messages per second happened).
So, I have several questions:
1. Is WPF Studio really posts "MilChannelNotify" registered messages into the window?
2. Can it be due to a trial version of WPF Studio and will it be absent in licensed one?
3. If not, how to gain the proper Idle event?
Thanks.