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

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 >> Toolbar


Toolbar

Customizing Toolbars



[Updated] Tab Bar Control
Rating:
John Z. Czopowik VC++ MVP - 12/21/2007
Learn about the Tab Bar control class that is based on CControlBar and the Windows common tab control; it also uses my wrapper class CTabBarCtrl.

Make a Customized ToolBar Dialog Work in MFC (VC6)
Rating:
Eric Shan - 05/04/2004
Simply by adding some code to your MFC frame windows, you can make your toolbar customize dialog works.

Creating a Tabbed Tool Bar
Rating:
Ganesan Subramaniam - 11/01/2002
Do you have a lot of tools (icons) in your toolbar? Learn to organize them with a tab dialog!

Customizable toolbar (2)
Rating:
Stas Levin - 05/16/1999
Updated article and source

System menu fix for floating toolbar
Rating: none
Paul Bludov - 02/24/1999
New article and source

Adding a drop arrow to a toolbar button
Rating:
Kirk Stowell - 12/21/1998
Updated Article

Using Hot Toolbar Buttons
Rating: none
Kirk Stowell - 12/21/1998
Updated Article and Source

Remove close button from floating toolbar
Rating: none
Ben Summers - 08/22/1998
Remove close button from floating toolbar

Custom status messages and tooltips
Rating: none
Pel K. Txnder - 08/22/1998
Custom status messages and tooltips

Remove system menu from floating toolbar
Rating: none
Sushil Saxena - 08/22/1998
Remove system menu from floating toolbar

Customizable toolbar
Rating:
Doug Keith - 08/22/1998
Customizable toolbar


Docking



Code to Dynamically Redock a Toolbar at Runtime
Rating: none
hdo - 11/01/2000
Snippet that allows you to do such things as giving the end-user a "Reset all Toolbars" function


Flat Toolbar



Flat Toolbar (requires IE3+)
Rating:
Roger Onslow - 10/01/2002
Flat Toolbar (requires IE3+)

Hiding the Flat Toolbar Separators
Rating: none
Andrey Abelyashev - 02/09/2000
Hiding the Flat Toolbar Separators

A Fix for CToolBar with IE4
Rating: none
Roger Onslow - 02/07/1999
A Fix for CToolBar with IE4

Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar
Rating: none
Tony Hoyle - 08/22/1998
Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar

IE4 Style Menu (Rebar Menu) ' 
Rating: none
Janusz Jasinski. - 08/22/1998
IE4 Style Menu (Rebar Menu) ' 

Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar (2)
Rating:
Eric Lapouge - 08/22/1998
Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar (2)

Another Flat ToolBar (does not require MSIE)
Rating: none
Joerg Koenig - 08/22/1998
Another Flat ToolBar (does not require MSIE)


Miscellaneous



Tip: Painting the CToolbar's Parent Window (AfxControlBar)
Rating:
paresh_chitte - 04/23/2008
Learn how to paint the background color (paint entire window) of CToolbarby using the "AfxControBar".

Locking Rebars and Toolbars
Rating: none
frankyboy1 - 04/26/2005
Learn how to lock the toolbars (within a rebar or not) like Windows Explorer under Windows 2000/XP.

[Updated] Building and Using a Toolbar Header
Rating:
Lars Werner - 06/09/2004
How to implement a header for your SDI/MDI project.

Putting a Docking Toolbar in a Dialog App
Rating:
Dr. Sai - 05/12/2003
Getting a docking toolbar in a dialog is not easy. I do a small trick -- I make a dialog behave like a toolbar, thus making a lot of GUI gimmicks easy to incorporate.

Toolbar Button Events and Disabling in Visual C++ 7
Rating:
Paul Maddox - 08/13/2002
How to hook up the normal click events for toolbars in VC7, and how to disable buttons programmatically, depending on context.

Taskbar Sorter Utility
Rating: none
Paul S. Vickery - 06/21/2002
This utility allows you to change the order of items on your taskbar, by dragging them into position in a list.

Adding Toolbar button in CFileDialog
Rating:
Mustafa Ahmad - 10/08/2001
This article will show you how to add a Toolbar button in CFileDialog's Toolbar.

Switching Toolbars in MDI
Rating: none
Omer Eisenberg - 03/22/1999
New article with source

Toolbars with Tooltips in a CFormView derived class
Rating:
Juan Franklin Peqa - 01/24/1999
New article and source.

Docking Toolbars Side-By-Side
Rating: none
Kirk Stowell - 12/21/1998
Updated Article

Displaying text on a Toolbar
Rating: none
Michael Brannan - 12/07/1998
Updated Article

Toolbar with 16M colour images
Rating:
Fulop Miklos - 08/22/1998
Toolbar with 16M colour images

Using 256 color bitmaps in toolbar
Rating:
Kevin Bentley - 08/22/1998
Using 256 color bitmaps in toolbar

Extended Multi Size Multi Color Toolbar!
Rating:
Pat Laplante - 08/22/1998
Extended Multi Size Multi Color Toolbar!

How to display tooltips for a toolbar in a dialog
Rating:
Randy More - 08/22/1998
How to display tooltips for a toolbar in a dialog


Placing Controls in Toolbars



Adding Text to a Docking Toolbar
Rating: none
Zahirul Haque - 06/08/2001
This article demonstrates an easy way to add text to a docking tool bar.

CDialogBarEx : A Dialog bar with initialization
Rating: none
Sharad Kelkar - 02/24/1999
New article and source

Using ComboBox on a Flat Toolbar
Rating:
Kenneth Carter - 08/22/1998
Using ComboBox on a Flat Toolbar

Place Controls on ToolBars
Rating:
Randy More - 08/22/1998
Place Controls on ToolBars


Toolbar



Simple IE-like Menu and Toolbar
Rating:
Michal Mecinski - 09/12/2003
A simple interface based on Internet Explorer that implements features introduced in Windows XP and remains compatible with all OS versions since Windows 98. Includes support for alpha channel images under Windows XP, both 3D and flat (XP) style, and rebar menu with full mouse and keyboard support. (The demo project and source code were updated.)

Full-Featured 24-bit Color Toolbar
Rating:
Peter Lee - 09/27/2000
Enable you to attach 24-bit images to the standard MFC toolbar that handles both disabled and hot buttons as well as transparent button backgrounds.

Placing Logo on the Top DockBar of the Frame Window
Rating: none
Andrey Abelyashev - 08/03/2000
Great class that enables you to place your logo on the main dockbar of your SDI/MDI applications!