Description: Drawing, how to use a custom brush (color, line width, line). How to add options menu for the program and the option to set dialog box, how to use the standard color dialog box, and how to use the Font dialog box, in the Options dialog box to implement the preview function. Implementation Options dialog box and window class data exchange. How to change the background color of dialog boxes and controls, how to change the control' s text color on button controls the special treatment. How in the window display a bitmap.
To Search:
File list (Check if you may need any files):
Lesson10Code\Graphic\BtnST.cpp
............\.......\BtnST.h
............\.......\Graphic.aps
............\.......\Graphic.clw
............\.......\Graphic.cpp
............\.......\Graphic.dsp
............\.......\Graphic.dsw
............\.......\Graphic.h
............\.......\Graphic.ncb
............\.......\Graphic.opt
............\.......\Graphic.plg
............\.......\Graphic.rc
............\.......\GraphicDoc.cpp
............\.......\GraphicDoc.h
............\.......\GraphicView.cpp
............\.......\GraphicView.h
............\.......\MainFrm.cpp
............\.......\MainFrm.h
............\.......\ReadMe.txt
............\.......\res\background.bmp
............\.......\...\Graphic.ico
............\.......\...\Graphic.rc2
............\.......\...\GraphicDoc.ico
............\.......\...\Toolbar.bmp
............\.......\resource.h
............\.......\SettingDlg.cpp
............\.......\SettingDlg.h
............\.......\StdAfx.cpp
............\.......\StdAfx.h
............\.......\SXBtn.cpp
............\.......\SXBtn.h
............\.......\TestBtn.cpp
............\.......\TestBtn.h
............\.......\res
............\Graphic
Lesson10Code