Create an owner-draw bitmap button and a frame for the title bar in one class.
Latest Bitmap Buttons Articles
Choice Button
Learn about a owner drawn button that can display a bitmap and a dropdown menu with a list of choices.
ImageTextButton
Learn about a Owner Draw button that loads a bitmap and embeds text on it.
Hover Buttons with Automatic Drop-Shadow Generation and Antialiasing
[Update] Render a button in multiple ways, including soft drop-shadow generation, antialiasing with the window background, semi-transparency, and more. This class is an extension to the standard hover button. The new additions are: 1. Buttons in the dialog were not set to be ownerdrawn. This has been corrected. 2. The program now links with MFC 7.0 statically, so users without .NET installed can run the demo.
Simple Bitmap Buttons
This is an easy and flexible way to use bitmaps as buttons in your application.
CShadeButtonST - A CxShadeButton made using CButtonST
This routine lets you derive a class and implement custom a background paint while still having all the features from the CButtonST control.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
Introduction to C++/CLI Programming
Become proficient at C++/CLI programming under the .NET context by posting a first CLR console base project.

Extension Methods Refresher
Use code extensions to expand the core principles of code re-use.

How to Draw Shapes with Visual Basic and GDI: Crescent Moons, Hearts, Spirals, and More
Learn how to create various odd shapes.

Maker Project: Creating a Garage Door Opener
Have you ever wanted to control your garage door from your smartphone? Here is your chance. Get your hands dirty with an Arduino Garage Door Controller.