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

How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


What is serialization ?which function is responsible for serializing data ?

5 Answers  


What interface must be supported by an ActiveX control?

2 Answers  


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,






Whats is DDX & DDV in MFC?

1 Answers   HCL,


1)How to create ToolTip in MFC?

2 Answers  


what if we provide two message handler for same message ?

1 Answers  


1)dynamic creation of a Button ?

2 Answers   TCS,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


How can server communicate with more than one client

2 Answers   Invensys,


How to update windows title bar dynamically?

7 Answers   HCL,






Categories