<< Home >>VC++ (MFC) Questions>>Page 1:



VC++ (MFC) Questions


Page 1 2 3 4  5 6 7  >>>
Page 1 2 3 4  5 6 7  >>>
1. SetModifiedFlag() is a member function of which class and why do we need to use it?
2. DeleteContents() is a member function of which class and why do we need to override it?
3. Which class serves as a helper class for implementing RTTI mechanism?

4. Write the preprocessor directive used to differentiate between the release and debug modes while writing any M.F.C. application. 5. Which function can be used for getting the address of the main frame window pointer anywhere in a M.F.C. application? 6. Write the M.F.C. given global function for creating a thread. 7. Write any two classes, which can be used for synchronizing multiple threads in M.F.C. 8. Which member function of the frame class is actually responsible for loading the resources for the main frame window? 9. Write the member function of the CPropertySheet class, which returns a pointer to the current active page in it. 10. Which device context class can be used for handling WM_PAINT message in M.F.C? 11. What is the purpose of the two parameters in the BEGIN_MESSAGE_MAP (,) macro? 12. What does MFC do when you call the function DoModal() to open modal dialog window 13. What does “AFX” stand for? 14. How can we call Win32 API functions in MFC program? 15. In an MDI application, which window owns the toolbar? 16. What is the difference between “grayed” and “disabled” menu item? 17. Why must a serializable class have default constructor? 18. Write the preprocessor directive used to differentiate between debug and release modes when writing any MFC application 19. Void OnDraw (CDC *pDC) is a member of which class and on what occasions does the framework call it? 20. How can we call Win32 API functions in MFC program? 21. Which virtual function should you override if you want to filter some messages and what is its class 22. Name the six GDI objects 23. What is the purpose of ON_COMMAND_RANGE macro? 24. What is the purpose of resource.h file? 25. Why is it necessary to override OnOk and OnCancel for modeless dialog box? 26. How can you set the focus on a control programmatically in a dialog box? 27. How can on iterate through all the views associated with a document? Give the function names and their required parameters. 28. Why do we need to override OnInitialUpdate member function of CView sometimes? 29.In what order do application, frame widow, document and view objects get created? 30. Why is it not necessary to have message map entry for the “File | Save” menu item?
Page 1 2 3 4 5 6 7 >>>



XML Fill in Blanks
XML
XML True False
XML Match-Making
XML Questions
C
C++
Data Base Fill in Blanks
Data Base True False
Data Base
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