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
C++ Tips and Tricks
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.

Working with Google Protocol Buffers and .NET
Learn about something called "Google Protocol Buffers," and watch for later posts on other IoT subjects.

Using WndProc to Override Mouse Functions
Learn how to use the simple, yet powerful, WndProc command and its associated methods to override various window and mouse functions.

Lesson Learned: The Need for a Domain Language
Translation costs time and money, and can affect the quality of the product being made. Make sure all your team members speak the same language.