How the messages are processed in Windows ?



How the messages are processed in Windows ?..

Answer / 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

More Windows AllOther Interview Questions

describe the THREE basic techniques for implementing the policies of device management

0 Answers  


How do I make an exe file installed?

0 Answers  


What are the features of Windows XP?

34 Answers   Brigade, College School Exams Tests, CTS, Genpact, Google, Infosys, Kerberos, Lovely Professional University, Sutherland,


Where is dism exe located?

0 Answers  


Name few functions that create Kernel Objects?

1 Answers  






What Exchange process is responsible for communication with AD?

3 Answers   HCL, Replicon, Team Computers,


What is a standard file format?

0 Answers  


How do I know if my harddrive is failing?

0 Answers  


How do I run an exe command prompt as administrator?

0 Answers  


I have first installed windows in my system.then i intalled linux, i am able to get the OS selection menu. later i got a problem with os , again i reinstalled windows os, now i am not able to see to os selection screen,how to get it again.

4 Answers  


How do I open and edit a dll file?

0 Answers  


What is the difference between nvme and ssd?

0 Answers  


Categories