Introduction - If you have any usage issues, please Google them yourself
Add a button on the title bar of the window, and you can customize the bitmap on the button where the mouse is not passing and passing. Click the button to trigger the user-defined event.
Packet : 27796717ccaptionbutton_demo.zip filelist
CCaptionButton_Demo/CaptionButton.cpp
CCaptionButton_Demo/CaptionButton.h
CCaptionButton_Demo/ReadMe.txt
CCaptionButton_Demo/Release/
CCaptionButton_Demo/res/
CCaptionButton_Demo/resource.h
CCaptionButton_Demo/res/bitmap1.bmp
CCaptionButton_Demo/res/bmp00001.bmp
CCaptionButton_Demo/res/bmp00002.bmp
CCaptionButton_Demo/res/bmp00003.bmp
CCaptionButton_Demo/res/down.bmp
CCaptionButton_Demo/res/LampOff.bmp
CCaptionButton_Demo/res/LampOn.bmp
CCaptionButton_Demo/res/TitleBarButton.ico
CCaptionButton_Demo/res/TitleBarButton.rc2
CCaptionButton_Demo/StdAfx.cpp
CCaptionButton_Demo/StdAfx.h
CCaptionButton_Demo/TitleBarButton.clv
CCaptionButton_Demo/TitleBarButton.clw
CCaptionButton_Demo/TitleBarButton.cpp
CCaptionButton_Demo/TitleBarButton.dsp
CCaptionButton_Demo/TitleBarButton.dsw
CCaptionButton_Demo/TitleBarButton.h
CCaptionButton_Demo/TitleBarButton.rc
CCaptionButton_Demo/TitleBarButtonDlg.cpp
CCaptionButton_Demo/TitleBarButtonDlg.h