Introduction - If you have any usage issues, please Google them yourself
CWBButton is a WindowBlinds like resizable image button derived from a CButton. In MFC, You can use the class called CBitmapButton, but that s not enough. The size of button is the size of the bitmap, and you can t put a text by calling the API SetWindowText(). I wanted REAL Bitmap Button like GTK+ or WindowBlinds. So I try to create a REAL Bitmap Button referring WindowBlinds.
Packet : 33753137cwbbuttondemo.zip filelist
CWBButtonDemo/
CWBButtonDemo/AutoFont.cpp
CWBButtonDemo/AutoFont.h
CWBButtonDemo/Button3.bmp
CWBButtonDemo/ButtonsAqua.bmp
CWBButtonDemo/ButtonsBrokenWindows.bmp
CWBButtonDemo/ButtonsElegant.bmp
CWBButtonDemo/ButtonsWin3000.bmp
CWBButtonDemo/ButtonsWired.bmp
CWBButtonDemo/CWBButtonDemo.cpp
CWBButtonDemo/CWBButtonDemo.dsp
CWBButtonDemo/CWBButtonDemo.dsw
CWBButtonDemo/CWBButtonDemo.h
CWBButtonDemo/CWBButtonDemo.rc
CWBButtonDemo/CWBButtonDemoDlg.cpp
CWBButtonDemo/CWBButtonDemoDlg.h
CWBButtonDemo/ReadMe.txt
CWBButtonDemo/res/
CWBButtonDemo/resource.h
CWBButtonDemo/res/CWBButtonDemo.ico
CWBButtonDemo/res/CWBButtonDemo.rc2
CWBButtonDemo/StdAfx.cpp
CWBButtonDemo/StdAfx.h
CWBButtonDemo/wbbtn.bmp
CWBButtonDemo/WBButton.cpp
CWBButtonDemo/WBButton.h