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

How do I change how a file opens?

499


How do I know if my hard drive is corrupted?

503


What are the disadvantages of bluestacks?

538


How do I get rid of rundll32 exe virus?

470


What are the disadvantages of a solid state drive?

458






list TWO problems that force some operating system to use the technique of device dedication

1659


What is the keyboard shortcut for select all?

458


What are kernel objects?

1938


How do I clear my c drive?

476


Which file type is safe to open?

496


What are the two parts of a file name?

557


What is patch in computer?

532


How do I find a file path in command prompt?

498


Why drop caps are used in document?

543


How do I permanently delete files from my hard drive?

451