How the messages are processed in Windows ?

Answer Posted / purushotham

Message handling is at the heart of what makes a Windows
application work. The system and other applications generate
messages for every event that occurs in Windows. Messages
allow Windows to run multiple applications at once. Windows
98 and Windows 2000 give each thread or process its own
message queue, allowing each one to work independently. In
earlier versions of Windows, all applications shared the
message queue. In these versions of Windows, an application
had to give control back to Windows as often as possible to
allow other applications to process messages. Since Windows
95 and Windows NT were introduced, this is no longer an issue.
Message Flow

Windows generates messages for every hardware event, such as
when the user presses a key on a keyboard or moves a mouse.
It passes these messages to the appropriate thread message
queue. Each thread in the system processes the messages in
its own message queue. If a message is destined for a
specific thread, the message is placed in that thread's
message queue. Some messages are systemwide or are destined
for multiple threads.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are file extensions examples?

584


How do I find my hard drive on linux?

542


What is the best free pc repair software?

477


What is kb947821?

516


How do I extend the life of my ssd?

473






What is the life of external hard disk?

481


How do I fix a corrupted file?

462


Does system restore take a long time?

494


How do you delete a file that cannot be deleted?

479


What is a program binary?

462


What can damage hard drive?

498


How can I check the health of my hard drive?

485


How many hours should a hard drive last?

484


How do you permanently erase data so that it cannot be recovered?

509


How do you take the log?

505