|
|
|
|
|
Total Hits: 89 | Today: 0
|
Author: Deepak Khajuria
|
Rating:
|
|

The CToolbarEx class supports basic customization (As in IE) with controls on it. Additionally it can hide the controls when the toolbar is docked vertically. This class uses the framework provided by ToolBarCtrl to do the customization of the Toolbar. It also supports Large Icons and Text on Buttons.
It uses a modified CCustomizeDialog class by Nikolay Denisov to provide extra options in the Toolbar customize Dialog....
|
|
|
|
Total Hits: 91 | Today: 0
|
Author: Rajasekar Shanmugam
|
Rating:
|
|

I guess I know what you're thinking-"Oh no!! Not another toolbar article!". Rest assured that this article discusses something that's most probably not found in any of those handy (dog-eared) MFC/SDK books you've got. It's about a very cool toolbar feature called chevrons. I hope you'll enjoy this, and incorporate the feature into your own code. Adding Chevrons to your code gets your app yet another step towards that elusive professional standard most commercial programs exude....
|
|
|
|
Total Hits: 83 | Today: 0
|
Author: Dr. James McCaffrey
|
Rating:
|
|

Though it has only been around for a relatively short amount of time, Windows PowerShellTM is already one of my favorite tools. I recently discovered that Windows PowerShell has all the features you need for creating a tiny library that will enable you to write ultralightweight UI automation. In this month's column, I will show you how to create a small collection of custom Windows PowerShell cmdlets that perform Windows® UI automation tasks. These include obtaining handles to applications and c...
|
|
|
|
Total Hits: 50 | Today: 0
|
Author: Jason Henderson
|
Rating:
|
|

I'm a very unorganized person. I usually depend on my feeble brain to remember projects or bugs I need to fix. Unfortunately, I am all too human and I will occasionally forget something important. So, when I started using Windows XP Professional (with IIS conveniently installed), I decided to make a web "to-do list" to remind me of all the important things I need to do....
|
|
|
|
Total Hits: 112 | Today: 0
|
Author: Innovasys
|
Rating:
|
|

DockStudioXP provides you with the ability to deliver Visual Studio.NET or Microsoft Office XP/2000 style toolbars and dockable windows. Docked, Floating, Collapsed and Tab-Docked docking window styles. In-built MDI and Visual Studio.NET style Tabbed-MDI document management....
|
|
|
|
Total Hits: 64 | Today: 0
|
Author: Phil Wright
|
Rating:
|
|

One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form. Now I could attach a Control (or more likely a composite control by deriving from UserControl) onto a Form edge and quickly construct a useful looking application. But there is one crucial factor missing from this scenario. The user has no discretion over the size or positioning of this docked control. I want the user to be able to drag the control to a different edge and be able to r...
|
|
|
|
Total Hits: 64 | Today: 0
|
Author: Robert Rohde
|
Rating:
|
|

Everyone knows the navigation in Outlook with its neat bar, and there are many different implementations for it already existing. Some of them are very neat, but are rather inflexible on what kind of contents can be inserted into each group. What I needed was a possibility to show and hide several large grids quickly in all possible combinations. I could have used some sort of docking and/or MDI style to achieve this, but for several reasons, this was not good in my situation. Moreover, I think ...
|
|
|
|
Total Hits: 73 | Today: 0
|
Author: Herre Kuijpers
|
Rating:
|
|

I'm currently working on a personal project in which I want to build a small application with an Outlook 2003 style of navigation. This includes the Outlook sidebar containing the colorful buttons. I have been looking for this control here on CodeProject, so far I could only find one written in C++ with WTL. I decided to write my own Outlook sidebar usercontrol in and for C# (2.0) so it can be easily extended and custimized to the developer's need. This project therefore contains all the sources...
|
|
|
|
Total Hits: 70 | Today: 0
|
Author: Oleg A. Mostovlyansky
|
Rating:
|
|

This is an alternative to the standard toolbar control. To use it, just replace your CToolBar objects with CTapeToolBar objects - easy as that!
When you call CTapeToolBar::SetTape() the toolbar is transformed into a ticker-tape style toolbar, with moving perforations and toolbar buttons....
|
|
|
|
Total Hits: 103 | Today: 0
|
Author: Cryingwind
|
Rating:
|
|

The proposed class is based on Daniel Godson's: Generating inactive/disabled images for toolbar. I have fixed some errors in the original code. But there are still some shortcomings left:
1. the function to load bitmap from the file and display it is not implemented 2. the size of buttons on the toolbar is 24�24, I haven't give an interface to change it....
|
|
|
|
Total Hits: 77 | Today: 0
|
Author: Christian Graus, Masoud Samimi
|
Rating:
|
|

During my current project, I found myself in possession of a number of toolbars. It's a paint program, so it started to be quite painful, having various toolbars over parts of the image, and half of the real estate is just wasted room (i.e. the caption bar ). I decided to try and write a class derived from CToolBar that was tricked into thinking it was docked when it wasn't, so it drew with a gripper and no caption bar. Simple, right?...
|
|
|
|
Total Hits: 99 | Today: 0
|
Author: Igor Tebelev
|
Rating:
|
|

The problem with current implementations of rollover toolbars is that they assume that you are in charge of source code, which is not always true. For example, if you are designing a container that is supposed to host some controls then the source code of the toolbar implementation of those controls is not accessible by the container. Another scenario would also include the case of Toolbars that are dynamically created by reading images from external sources that usually don't present all 3 poss...
|
|
|
|
Total Hits: 105 | Today: 0
|
Author: bcryner
|
Rating:
|
|

This article was written to demonstrate how to customize the display of the ToolStrip, MenuStrip, and StatusStrip controls. We will look at the ProfessionalColorTable class as well as the ToolStripCustomRenderer class....
|
|
|
|
Total Hits: 83 | Today: 0
|
Author: Lars [Large] Werner
|
Rating:
|
|

When I wanted a quick and nice header for my SDI project I could not find any, so I made my own. Some of the code is for beginners. It is not made for learning, but just for saving some time. There are some comments on the code, but almost all of it should be crystal clear, even for beginners. The header supports different colors on text, text shadows, and background, change of font size and type, change of placement of the text in the header. It does also have a gradient effect on the backgroun...
|
|
|
|
Total Hits: 128 | Today: 0
|
Author: Ivan Alles
|
Rating:
|
|

The Windows Forms library in the .NET Framework has great support for context sensitive help. You can assign a help topic for each control in your program. This topic will be shown automatically when you press F1, provided that the control has focus. A problem arises when you try to do this for ToolStrip items, such as ToolStripButton or ToolStripComboBox. These classes are not controls, they are not derived from Control but from the ToolStripItem class. You will need some tricks to make context...
|
|
|
|
Total Hits: 78 | Today: 0
|
Author: Craig Henderson
|
Rating:
|
|

Toolbars are a great user interface widget, but when an application has a large number of toolbars they can quickly become unmanageable. Providing facilities for the user to toggle toolbars on and off is all very well. The downside is that the use of the facility distracts the user from their task. I ran into exactly this problem in a recent application, and attempted to find a solution. Ultimately I came up with the Tool Group Manager that I present here....
|
|
|
|
Total Hits: 89 | Today: 0
|
Author: Alex Hazanov
|
Rating:
|
|

This is a replacement for a standard ToolBar. This control is derived from CStatic to allow you an easy drop in, also the usage is very simple. It also features tooltips for every button and any size icons for buttons....
|
|
|
|
Total Hits: 103 | Today: 0
|
Author: zhaque
|
Rating:
|
|

This article demonstrates an easy way to add a Combo box to a docking tool bar. I was needed to add a edit control to the toolbar for my dBase Explorer project (visit my web site for detail information: http://www.codearchive.com/~dbase/). Although, I found some of the articles on it in the Code Project site, most of them are difficult to implement, and you need to add a lot of code or even a new class. This article shows how you can add a combo box to a toolbar only by adding a few lines of cod...
|
|
|
|
Total Hits: 84 | Today: 0
|
Author: Thomas Blenkers
|
Rating:
|
|

When you are porting your MFC application to MSVC 6.0 you'd probably like to use the build-in support for the flat toolbar and kick that third-party solution out of your project, reducing the file size. If you download a cool sample application and give it a try in your MSVC 5.0 environment, you may have a problem when compiling it, because your compiler doesn't know the CToolBar::CreateEx method which is new in the MFC since MSVC 6.0 was released. Obviously there were slight changes applied to ...
|
|
|
|
Total Hits: 79 | Today: 0
|
Author: Mingliang Zhu
|
Rating:
|
|

There is a bug in MFC's CToolBar class while showing tooltips for toolbar buttons. When calculating which button is to show the tooltip, the positions for toolbar buttons are moved 1 pixel to the right. As a result, when the mouse cursor is pointed to the left-most pixel of a toolbar button, the tooltip and status bar tip for the button on its left are actually shown! It is quite easy to reproduce this bug. Create an MFC project, either SDI or MDI, which by default includes a toolbar. Leave all ...
|
|
|
|
|
|