Description: The project button redraw the common control, the button redraw work can not be returned by the OnCtrlColor brush to achieve, to be achieved by deriving new tired rewrite DrawItem.
To Search:
File list (Check if you may need any files):
MyButtonDlg\MyButtonDlg.aps
...........\MyButtonDlg.clw
...........\MyButtonDlg.cpp
...........\MyButtonDlg.dsp
...........\MyButtonDlg.dsw
...........\MyButtonDlg.h
...........\MyButtonDlg.opt
...........\MyButtonDlg.plg
...........\MyButtonDlg.rc
...........\MyButtonDlg.sln
...........\MyButtonDlg.suo
...........\MyButtonDlg.vcproj
...........\MyButtonDlg.vcproj.PC-200907071726.Administrator.user
...........\MyButtonDlgDlg.cpp
...........\MyButtonDlgDlg.h
...........\ReadMe.txt
...........\Resource.h
...........\StdAfx.cpp
...........\StdAfx.h
...........\yctBitmapButton.cpp
...........\yctBitmapButton.h
...........\yctBitmapButton2.cpp
...........\yctBitmapButton2.h
...........\res\bitmap1.bmp
...........\...\bmp00001.bmp
...........\...\bmp00002.bmp
...........\...\bmp00003.bmp
...........\...\bmp00004.bmp
...........\...\bmp00005.bmp
...........\...\bmp00006.bmp
...........\...\bmp00007.bmp
...........\...\bmp00008.bmp
...........\...\bmp00009.bmp
...........\...\MyButtonDlg.ico
...........\...\MyButtonDlg.rc2
...........\Debug
...........\res
MyButtonDlg