Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop GUI Develop Button control
Title: CCaptionButton_src Download
 Description: This class inserts a variable number of bitmaps to the caption of your dialog and handles them like buttons (next to the close, maximize or minimize button). This means the size and the position will be calculated no matter if there is only 1 button (to close the Dialog) or 3 buttons (to close/maximize/minimize). It is also possible to draw the button to a dialog that has the toolwindow flag or the resizable flag set. The button shows a highlighted state if the mouse hovers above it and gets disabled if the window is deactivated. The reason for me to build this class was to bring a button to the caption of a dialog without using DrawFrameControl, just to get some experience with Bitmaps and the NonClient area.
 Downloaders recently: [More information of uploader *naver.com]
 To Search: DrawFrameControl
File list (Check if you may need any files):
CaptionButton.h
CaptionButton.cpp
    

CodeBus www.codebus.net