SELECT True or False :
1. All MFC classes are derived from CObject.
2. Toolbar is child of the view window.
3. An applications top level menu can be changed at runtime.
4. A class supporting Serialization has to use DECLARE_SERIAL and IMPLEMENT_SERIAL
macros.
5. AfxBeginThread can create only worker threads.
6. OnPaint and OnDraw member functions serve the same purpose.
7. Run-time class information supported by CObject is same as RTTI of C++.
8. InitInstance is member of CWinThread class.
9. DoDataExchange() of CDialog calls UpdateData() function.
10. To create a propertysheet on screen we need to call the CreatePropertySheet() function.
11. In a document-View based SDI application which object creates the frame window object.
12. CreateStatic is a member function of the CFrameWnd class.
13. We can access the pointer of the document in the constructor of the view.
14. In the view class OnDraw function is called by OnInitialUpdate().
15. Object of CCreateContext class is passed as parameter to PreCreateWindow.
16. The VERIFY macro is available for release build of MFC.
17. The CreateThread is a global function.
18. AfxSetResourceHandle is used for message dispatching.
19. MFC classes can be exported out of regular DLLs.
20. WaitForSingleObject can be used for locking on a Critical section object.
21. The view is created in the OnNewDocument of Document object.
22. It’s a must to override the function OnIdle.
23. OnSetActive is a member function of CPropertySheet.
24. CSyncObject is the base class for CSingleLock.
25. One can have more than one global object for the Application class in a project.
26. The Run( ) function of the CWinThread class can be overriden.
27. There can be more than one document class present in a SDI (Single Document Interface)
application.
28. Is it necessary to create the view immediately after you create the static splitter window.
29. OnDraw ( ) is a member function also present in the CDocument class.
30. If you want to create a set of buttons on the view, you would trap the OnCreate ( ) function of the
class CMainFrame.
|