The Wayback Machine - https://web.archive.org/web/20071011125959/http://www.codeguru.com:80/cpp/controls/buttonctrl/

CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
Online Meetings
Laptop Batteries
Logo Design
Condos For Sale
Boat Donations
Corporate Awards
Laptop Computers
Promotional Pens
Mortgage Refinance
Promotional Gifts
Business Gifts Canada
Imprinted Promotions
Health Insurance
Compare Prices


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> Controls >> Button Control

  Navigating Your IT Career
A career in information technology usually has its share of ups and downs. Download this Internet.com eBook to learn where the jobs are in IT, how to negotiate a salary, and helpful advice on job security and how to deal with a layoff. »
 
  Inside Spyware: A Guide to Finding, Removing, and Preventing Online Pests
Your organization's computers are possibly being used to send spam, harvest e-mail addresses, make purchases on stolen credit cards or take part in denial of service attacks. Learn how to indentify, avoid, and remove malware from computers and keep your network and machines safe. »
 
  Tips for Selecting Software Vendors
IT managers need a proven, steadfast process for sifting through the hundreds of choices available for each enterprise software market segment. There are a series of steps for ensuring a result that will survive the intense, long-term scrutiny this level of investment will certainly attract. »
 
  Storage Basics: A Guide to the World of Storage Technology
Regardless of industry, size, or age, businesses are awash in more data than ever before. Federal regulations require that data be stored, protected, and retrievable for a certain amount of time. Storage is also a growing area in IT, which means employment opportunities exist now, and should exist for some time. »
 
  Building Your Own IP PBX
If you're already into having control of your computing infrastructure, taking charge of your telephone network is a natural progression. Asterisk is an open source PBX that runs on Linux. It can free your organization from expensive commercial PBXs, and gives you complete control over your telephone services »
 
Whitepaper: Real-World Testing of Email Anti-Virus Solutions. Spammers & virus writers are constantly developing new evasion techniques. This paper describes optimal testing methodologies for anti-virus solutions.

Button Control

Advanced Buttons



Enhanced Colored Button
Rating:
Marius Bancila - 11/02/2004
Enhance your application interface by using a push button that allows you to select its colors.

Creating Round SysMenu Buttons
Rating:
Dr. Sai - 05/09/2003
Create round SysMenu buttons and learn how to do flicker-free painting in the caption and more. (New features were added.)

Native Win32 Theme-Aware, Owner-Draw Controls (No MFC!)
Rating:
Ewan Ward - 12/17/2002
How to create theme-aware, owner-draw controls that are implemented by using the native Win32 API, rather than MFC.


Bitmap Buttons



[Updated] ImageTextButton
Rating:
Anurag Velekkattu - 06/02/2004
Learn about a Owner Draw button that loads a bitmap and embeds text on it.

Hover Buttons with Automatic Drop-Shadow Generation and Antialiasing
Rating:
Paul Nettle - 10/30/2002
[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
Rating:
Balint Akos - 01/18/2002
This is an easy and flexible way to use bitmaps as buttons in your application.

CShadeButtonST - A CxShadeButton made using CButtonST
Rating:
Davide Calabro - 07/11/2001
This routine lets you derive a class and implement custom a background paint while still having all the features from the CButtonST control.

CAtlBitmapButton - ATL/WTL Ownerdraw Superclassed Bitmap Button
Rating: none
Amit Dey - 07/02/2001
Create bitmap buttons used in a simple user interface.

Responsive CBitmapButton Class
Rating:
Robert Gustavsson - 02/15/2001
Presents a class that provides for a bitmap button that responds much better to double-clicks

Bitmapped Command Button
Rating: none
Girish Pandit - 01/23/2001
Easy mechanism to create buttons with bitmap images


Button Control



Caption Bar Interface
Rating: none
Anish Mistry - 10/01/2002
Class that creates a "button-like" interface toolbar in the caption area

Owner Draw Button Step-by-Step
Rating:
Franz Wong - 05/29/2002
[updated] Step by step instructions for creating owner drawn buttons.

Enable or Disable Controls
Rating:
Jamil Ahmed - 04/19/2002
Enabling or Disabling controls in more effective and efficient way.

Slider Button Control
Rating: none
Roland Seah - 03/01/2002
Slider edit box like what Adobe Photoshop has. Cool and saves space.

CXPStyleButtonST v1.0 - Windows XP buttons with all CButtonST features
Rating:
Davide Calabro - 01/22/2002
Using CXPStyleButtonST, with a zero-cost implementation, your applications running under XP will have the new, smooth and elegant style but also will run errorless under old Windows versions.

Colored Buttons
Rating: none
John Wellbelove - 01/08/2002
Colored buttons with the default view of a button exactly the same as a normal non-owner drawn button.

NetTrafficButton
Rating:
Michael Fatzi - 11/07/2001
This little control, derived from a CButton control, displays the network traffic on a given interface. It uses the Performace API functions to enumerate the current traffic.

CCharSetBtn Control
Rating: none
Thorsten Wack - 09/19/2001
A control to choose a character from a specific charset and the options to use bold and/or italic font.

CHoverButton - Nice Hover Button with One Bitmap and Tooltip.
Rating: none
Niek Albers - 10/09/2000
Extremely easy to use hovebutton class

CHotButton - a "HotSpot" Button
Rating: none
Rick Shide - 06/23/2000
Button control that enables you to place images on a button and handle clicks on that part of the button (the hotspot)

Advanced ActiveX Buttons
Rating:
Konstantin Bukreev - 12/27/1999
Has properties for such things as "hover state", "clicked text" and "show as flat"

An Example of Overlapping Controls (CRgnedButton)
Rating: none
Noam Rathaus - 06/21/1999
An Example of Overlapping Controls (CRgnedButton)

Hover buttons
Rating: none
Will Mainwaring - 03/28/1999
Hover buttons

Custom Draw Buttons '& A smarter Groupbox
Rating: none
John Curtis - 11/12/1998
Custom Draw Buttons '& A smarter Groupbox

Animated Bitmap Button using DIBs
Rating: none
Chris Copenhaver - 10/02/1998
Animated Bitmap Button using DIBs

A Menu Button
Rating: none
Robert Kelly IV - 08/25/1998
A Menu Button

PushButton with bitmap '& text
Rating:
Michael Santoro - 08/12/1998
PushButton with bitmap '& text

An Unclickable Button
Rating: none
Chris Maunder - 08/11/1998
An Unclickable Button

A button within a button
Rating: none
Mihai Filimon - 08/06/1998
A button within a button

A Push Button with auto-repeat
Rating: none
Langis Pitre - 08/06/1998
A Push Button with auto-repeat

3D Text
Rating: none
Roger Onslow - 08/06/1998
3D Text

Motif Style option Widget
Rating: none
Suhas Kelkar - 08/06/1998
Motif Style option Widget

Colored buttons
Rating: none
Bob Ryan - 08/06/1998
Colored buttons

A Color Picker
Rating: none
Luis Ortega - 08/06/1998
A Color Picker

CTrackLookButton, An IE 3.0 style button
Rating: none
strategma - 08/06/1998
CTrackLookButton, An IE 3.0 style button

AVI - Animated button
Rating: none
Oscar - R.Voska - 08/06/1998
AVI - Animated button

Button color picker (like Excel)
Rating: none
Benoit Dufort - 08/06/1998
Button color picker (like Excel)


Flat Buttons



Flat buttons with text/icon
Rating:
Davide Calabro - 07/25/2002
CButtonST v3.7 - The reference control for MFC flat buttons with text, icons and bitmaps.

CStatic-Derived Flat Button Class
Rating: none
Kwon Jin-ho - 02/29/2000
CStatic-Derived Flat Button Class

Flat (cool look) buttons (2)
Rating:
Roger Onslow - 11/24/1998
Flat (cool look) buttons (2)

Flat owner drawn buttons
Rating: none
Girish Bharadwaj - 11/24/1998
Flat owner drawn buttons


Menus



Choice Button
Rating: none
bigBA - 06/08/2004
Learn about a owner drawn button that can display a bitmap and a dropdown menu with a list of choices.

ChoiceListButton Control
Rating: none
Christian Skovdal Andersen - 07/31/1999
Button control that upon being clicked drops down a menu of checkboxes!


Non-Rectangular buttons



CBounceButton
Rating: none
Jim Martin - 05/13/1999
CBounceButton

Universal Button - beauty of HRGN
Rating:
Pavel A. Simakov - 02/03/1999
Universal Button - beauty of HRGN

Stretched rounded buttons
Rating:
Philippe Dykmans - 11/24/1998
Stretched rounded buttons

Non-rectangular Buttons
Rating:
Hilton Campbell - 11/24/1998
Non-rectangular Buttons

Triangular Button
Rating: none
Janus Kjempff - 11/24/1998
Triangular Button

Round Buttons
Rating: none
Chris Maunder - 11/24/1998
Round Buttons

Circular Push Button
Rating:
Kunix - 11/24/1998
Circular Push Button


Windows XP



XP Style CColorControl Class with Themed Gradient Buttons
Rating: none
Anders Sandberg - 10/04/2004
Learn about a set of control-derived classes for a colorful presentation by using XP-styled hottracked controls with themed gradient buttons.

CCustomBitmapButton—MFC Button Control
Rating:
Andrzej Markowski - 09/22/2004
Create an owner-draw bitmap button and a frame for the title bar in one class.

Creating Windows XP Style ActiveX Button
Rating:
Ratheeshravi - 07/23/2002
Learn how to create an ActiveX button control in Visual C++ that looks like a Windows XP button.


Cache', the world's fastest object database, does away with mapping. Free download.
Scrub/verify/update data at point of entry. Download a free Data Quality Tools trial.
Whitepaper: Performance, Control, and Security--The Benefits of Verio Virtual Private Servers (VPS)
Free Trial: Web-based Bug Tracking Helps Ensure Issues Get Resolved, Not Lost.
Generate Complete .NET Web Apps in Minutes . Download Iron Speed Designer today.

Solutions