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

CodeGuru
Earthweb Search
Login Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

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
















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


Button Control

Advanced Buttons



General Solution for a Transparent Control
Rating:
galexding - 10/24/2008
Discover a very simple, integrated method to make a control, such as static, button, sliderctrl, and progress control transparent in a dialog box.

What's New in MFC 9.0 (Orcas): Command Link Buttons
Rating:
kirants - 10/25/2007
Explore the challenges of developing an MFC application to use on Vista and non-Vista platforms in the context of Vista's new Command Link Button style.

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.







internet.commediabistro.comJusttechjobs.comGraphics.com

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs