ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  VC++  >>  MFC
 
 


 

 
 MFC interview questions  MFC Interview Questions
 ATL interview questions  ATL Interview Questions
 COM DCOM interview questions  COM DCOM Interview Questions
 Win32API interview questions  Win32API Interview Questions
 ActiveX interview questions  ActiveX Interview Questions
 VC++ AllOther interview questions  VC++ AllOther Interview Questions
Question
How WM_PAINT message gets called in MFC,please explain it .
a)Who calls the WM_PAINT message?
b)When it gets called?
c)how it comes to message queue?

Please Explain it
 Question Submitted By :: Praveer
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
Answer
# 1
a)The framework calls this member function 

b)This function get called, when Windows or an application 
makes a request to repaint a portion of an application's 
window.

c)
 
Is This Answer Correct ?    0 Yes 1 No
Sai
 
  Re: How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
Answer
# 2
WM_Paint Message will be invoked by the system and not by 
any application.

This message is sent when updatewindow or RedrawWindow 
Function is called.

Dispactch Message Function dispatches the message , it gets 
the message from the GetMessage() or PeekMessage() 
Functions.
 
Is This Answer Correct ?    0 Yes 1 No
Vijay
 
 
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
What interface must be supported by an ActiveX control?  1
Explain StretchBlt and BitBlt  1
What is a critical section and how is it implemented?  1
If i derive a new class from CObject what are the basic features my derived wil get ? Microsoft3
What is document-view architecture ? Give me one real time example for SDI ?  2
What are the differences between MFC Exception macros and C++ exception keywords?  1
What is difference between the TCP/IP and UDP socket Invensys2
Have you ever used win32 APIs ? Microsoft4
In VC++ How to transfer between one exe to another exe while running.. Wipro4
What is the base class for most MFC classes? CMC4
What are the types of button controls?  8
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone? Atos-Origin3
Types of DLL's Invensys5
What is CSingleDocTemplate?  1
What is the use of UpdateData funciton ?  6
How many types of dialog box are their Honeywell4
What is the difference between ASSERT and VERIFY?  2
What is LPCTSTR? What does LP denote it?  4
How can i change the color of a dropdowncombobox elements  1
Tell me about different kinds of synchranization objects ?  5
 
For more MFC Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com