Description: With the development and popularization of computers, there is the software interface aesthetics have become increasingly demanding. MFC provides a lot of standard controls, such as the button control, button in MFC programming has a higher frequency of use. This article describes how to achieve the background picture, the arbitrary shape of the button from the painting method. In this paper, the use of procedures based on the dialog box works demo
File list (Check if you may need any files):
ControlButton
.............\ControlButton.cpp
.............\ControlButton.h
ControlButton.cpp
ControlButton.h
Debug
DemoButton.aps
DemoButton.clw
DemoButton.cpp
DemoButton.dsp
DemoButton.dsw
DemoButton.h
DemoButton.ncb
DemoButton.opt
DemoButton.plg
DemoButton.rc
DemoButtonDlg.cpp
DemoButtonDlg.h
ReadMe.txt
res
...\DemoButton.rc2
...\OKmask.bmp
Resource.h
StdAfx.cpp
StdAfx.h