Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.2 KiB

  1. ========================================================================
  2. MICROSOFT FOUNDATION CLASS LIBRARY : OUPicker
  3. ========================================================================
  4. AppWizard has created this OUPicker application for you. This application
  5. not only demonstrates the basics of using the Microsoft Foundation classes
  6. but is also a starting point for writing your application.
  7. This file contains a summary of what you will find in each of the files that
  8. make up your OUPicker application.
  9. OUPicker.dsp
  10. This file (the project file) contains information at the project level and
  11. is used to build a single project or subproject. Other users can share the
  12. project (.dsp) file, but they should export the makefiles locally.
  13. OUPicker.h
  14. This is the main header file for the application. It includes other
  15. project specific headers (including Resource.h) and declares the
  16. COUPickerApp application class.
  17. OUPicker.cpp
  18. This is the main application source file that contains the application
  19. class COUPickerApp.
  20. OUPicker.rc
  21. This is a listing of all of the Microsoft Windows resources that the
  22. program uses. It includes the icons, bitmaps, and cursors that are stored
  23. in the RES subdirectory. This file can be directly edited in Microsoft
  24. Visual C++.
  25. OUPicker.clw
  26. This file contains information used by ClassWizard to edit existing
  27. classes or add new classes. ClassWizard also uses this file to store
  28. information needed to create and edit message maps and dialog data
  29. maps and to create prototype member functions.
  30. res\OUPicker.ico
  31. This is an icon file, which is used as the application's icon. This
  32. icon is included by the main resource file OUPicker.rc.
  33. res\OUPicker.rc2
  34. This file contains resources that are not edited by Microsoft
  35. Visual C++. You should place all resources not editable by
  36. the resource editor in this file.
  37. /////////////////////////////////////////////////////////////////////////////
  38. For the main frame window:
  39. MainFrm.h, MainFrm.cpp
  40. These files contain the frame class CMainFrame, which is derived from
  41. CFrameWnd and controls all SDI frame features.
  42. res\Toolbar.bmp
  43. This bitmap file is used to create tiled images for the toolbar.
  44. The initial toolbar and status bar are constructed in the CMainFrame
  45. class. Edit this toolbar bitmap using the resource editor, and
  46. update the IDR_MAINFRAME TOOLBAR array in OUPicker.rc to add
  47. toolbar buttons.
  48. /////////////////////////////////////////////////////////////////////////////
  49. AppWizard creates one document type and one view:
  50. OUPickerDoc.h, OUPickerDoc.cpp - the document
  51. These files contain your COUPickerDoc class. Edit these files to
  52. add your special document data and to implement file saving and loading
  53. (via COUPickerDoc::Serialize).
  54. OUPickerView.h, OUPickerView.cpp - the view of the document
  55. These files contain your COUPickerView class.
  56. COUPickerView objects are used to view COUPickerDoc objects.
  57. /////////////////////////////////////////////////////////////////////////////
  58. Other standard files:
  59. StdAfx.h, StdAfx.cpp
  60. These files are used to build a precompiled header (PCH) file
  61. named OUPicker.pch and a precompiled types file named StdAfx.obj.
  62. Resource.h
  63. This is the standard header file, which defines new resource IDs.
  64. Microsoft Visual C++ reads and updates this file.
  65. /////////////////////////////////////////////////////////////////////////////
  66. Other notes:
  67. AppWizard uses "TODO:" to indicate parts of the source code you
  68. should add to or customize.
  69. If your application uses MFC in a shared DLL, and your application is
  70. in a language other than the operating system's current language, you
  71. will need to copy the corresponding localized resources MFC42XXX.DLL
  72. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  73. and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
  74. For example, MFC42DEU.DLL contains resources translated to German.) If you
  75. don't do this, some of the UI elements of your application will remain in the
  76. language of the operating system.
  77. /////////////////////////////////////////////////////////////////////////////