What is a message map, and what is the advantage of a
message map over virtual functions?
Answer / raju
Message Map is a logical table that maps the windows
messages to the member functions of the class.
Message map is to avoid following drawbacks:
1) Most windows only process a small number of messages,
yet each window require to giant virtual function table
with the entries of each message.
2) Virtual functions don't handle user defined messages and
other custom cases.
Is This Answer Correct ? | 12 Yes | 0 No |
What is the difference between GetMessage and PeekMessage ?
How can i change the color of a dropdowncombobox elements
I want recent paper pattern for HP company?
How to setup a timer?
1)At run-time, you can change the icon by calling the LoadIcon() function?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.
What view class enables you to use an edit control as a view?
what is the use of Mutex and critical section
How you create a button dynamically?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
What is a message map?
how does the UIThread and worker thread communicates and handle events