15年前のMFC

1,188 views
1,102 views

Published on

2012年6月の.NETラボ勉強会のライトニングトークスで発表したスライドです。
VC6の頃のMFCを用語だけを羅列して、5分間で紹介。最後は、MVC というところまで。

Published in: Business, Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,188
On SlideShare
0
From Embeds
0
Number of Embeds
545
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

15年前のMFC

  1. 1. 15 years ago MFC Masuda, Tomoaki masuda@moonmile.net
  2. 2. Document andView Architecture
  3. 3. MDIMulti Document Interface
  4. 4. CMainFrame
  5. 5. CView
  6. 6. CDocument
  7. 7. GetDocument
  8. 8. Cast toMyDocument
  9. 9. *.rc
  10. 10. DIALOG
  11. 11. CONTROL
  12. 12. CButton
  13. 13. afx_msg voidOnButtonClick
  14. 14. DDX_Control
  15. 15. ON_BN_CLICKED
  16. 16. m_Document
  17. 17. CArchive
  18. 18. ac << value ;
  19. 19. ac >> value ;
  20. 20. CEdit
  21. 21. DDX_Control
  22. 22. DDX_Text
  23. 23. DDV_MinMaxInt
  24. 24. ON_EN_CHANGE
  25. 25. UpdateData(FALSE)
  26. 26. UpdateData(TRUE)
  27. 27. CString
  28. 28. LPCSTR
  29. 29. BSTR
  30. 30. char *
  31. 31. string
  32. 32. CComPtr
  33. 33. CDocument = Model
  34. 34. CView ? = View
  35. 35. *.rc =View
  36. 36. ? =Controller
  37. 37. DDX_Text etc. ? Controller
  38. 38. Original idea of MVCis Visual Basic
  39. 39. View is Resource.
  40. 40. When we makeView, we don’t make code.
  41. 41. Don’t code whenwe design view.
  42. 42. Visual Basic 1.0MFC Doc-View XAML
  43. 43. Thank you, Masuda, Tomoakimasuda@moonmile.net

×