how many types of messages are their




Answers were Sorted based on User's Feedback



how many types of messages are their..

Answer / sahadev tarei

2 types(queued & nonqueued)

queuedd-posted to message queue(keyboard,mouse,timer,close)
nonqueuedd-posted to window function(Other rest message)

actually 200 different messages that window can send.

Is This Answer Correct ?    10 Yes 1 No

how many types of messages are their..

Answer / a_l_soni

1. Windows messages: This includes primarily those messages
beginning with the WM_ prefix, except for WM_COMMAND.
Windows messages are handled by windows and views. These
messages often have parameters that are used in determining
how to handle the message.

2. Control notifications: This includes WM_COMMAND
notification messages from controls and other child windows
to their parent windows. For example, an edit control sends
its parent a WM_COMMAND message containing the EN_CHANGE
control-notification code when the user has taken an action
that may have altered text in the edit control. The
window's handler for the message responds to the
notification message in some appropriate way, such as
retrieving the text in the control.

3. Command messages: This includes WM_COMMAND notification
messages from user-interface objects: menus, toolbar
buttons, and accelerator keys. The framework processes
commands differently from other messages, and they can be
handled by more kinds of objects, as explained in Command
Targets.

Is This Answer Correct ?    10 Yes 3 No

how many types of messages are their..

Answer / suganya nataraj

Window Messages
Command Messages
User Interface Update Command Messages
User Defined Messages
Event Notification Messages
Custom Control Messages
System-Registered Messages

Is This Answer Correct ?    5 Yes 0 No




how many types of messages are their..

Answer / surendra mishra

Two types of message are there
1> Windows defined and
2> User defined.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer



More MFC Interview Questions

1)At run-time, you can change the icon by calling the LoadIcon() function?

2 Answers  


How many types of combo box are their

2 Answers   E Logic, Aaditya Info Solutions,


what do you mean by psychic window?

2 Answers   Patni,


General purpose classes in MFC

1 Answers   TCS,


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  






i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


How to setup a timer?

3 Answers   IBM,


What function is used to disable a control at runtime?

7 Answers  


Explain the flow of SDI application?

8 Answers   Mphasis,


what is the use of Mutex and critical section

2 Answers  


What is the use of OninitDialog ?

11 Answers   Nagarro, HCL,


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,






Categories