Create an owner-draw bitmap button and a frame for the title bar in one class.
Latest Bitmap Buttons Articles
Learn about a owner drawn button that can display a bitmap and a dropdown menu with a list of choices.
Learn about a Owner Draw button that loads a bitmap and embeds text on it.
[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.
This is an easy and flexible way to use bitmaps as buttons in your application.
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 VideosMore...
Latest CodeGuru Developer Columns
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.
Just a few lines of code will let your program determine whether it's being reached by a mobile device.
Pick up the basics of how to create dynamic assemblies and how to run dynamic code.
As a web developer you should be aware of a few security best practices while developing your ASP.NET web application. Arun Karthick lists his top 7 tips to help you keep your ASP.NET security intact.