Tuesday, July 15, 2008

WPF Dispatcher

Basic idea : - A mechanism is needed to respond to user and system input . In win32 this one is called a message loop.The meessage loop runs in the back ground of a win 32 application and routes messages to the application from windows.

In WPF : - Here the message loop and queues are created and and managed by the dispatcher.A dispatcher is an instance of the Dispatcher class. The dispatcher runs the tasks one by one and is based on the priority level of each tasks. This Dispatcher is a true message dispatcher.

No comments: