<< Home >>VC++ (MFC) Multiple Choice Questions>>Page 4:



VC++ (MFC) Multiple Choice Questions


Page 1 2 3 4 >>>
Page 1 2 3 4 >>>

46. To fill the client area of the window displayed on screen on should trap the
    a) OnCreate ( ) b) OnCreateClient ( ) c) OnRun ( ) d) OnPaint ( )
47. CSingleLock utility class is used for thread synchronisation
    a) For more than two threads accessing the same data b) For two threads accessing two sets of different data c) For multiple documents d) None of the above

48. DeleteContents ( ) is a member function of
    a) CMyDocument b) CWinThread c) CDocument d) CWinApp
49. Which function in the View is first called when the View is attached to the Document.
    a) OnUpdate ( ) b) UpdateAllViews ( ) c) OnInitialUpdate ( ) d) OnNewDocument ( )
50. One must pass the ________ parameter to the function UpdateAllViews ( ) in order to send notification for all the views to be updated
    a) 1 b) NULL c) this d) None of the above.
51. Attach ( ) is a function which takes in a ________ parameter
    a) Pointer to the object b) Pointer to the Device context c) Handle to a Window d) None of the Above.
52. One should normally create an object of the CPaintDC only in
    a) OnDraw ( ) b) OnCreate ( ) c) PreCreateWindow ( ) d) OnPaint ( ) e) None of the above.
53. The OnCreate ( ) member function of the CFrameWnd calls __________ function of the same class to create the view
    a) OnCreateView ( ) b) OnCreateControl ( ) c) OnCreateApplication ( ) d) OnCreateClient ( ) e) b & c.
54. SetModified ( ) is a member function of the class
    a) CPropertySheet b) CDialog c) CPropertyPage d) None of the above.
55. UpdateData ( TRUE ) is used to transfer the values from
    a) Control to variable b) variable to control c) variable to View d) b & c e) None of the above
56. In order to terminate an appliction from the OnCreate ( ) member function, one must return
    a) 0 b) 1 c) -1 d) 2
Page 1 2 3 4 >>>



XML Fill in Blanks
XML Multiple Choice
XML True False
XML Match-Making
XML Questions
C Multiple Choice
C++ Multiple Choice
Data Base Fill in Blanks
Data Base True False
Data Base Multiple Choice
DataBase Questions
Win32 SDK Fill in Blank
Win32 SDK True - False
Win32 SDK Match
win32 select the best choice
win32 SDK Questions
Software Engg. Select Best Choice
 
Copyright © 2006-2012 ExamBlast.com Last Updated 08-April-2012