|
|
|
|
|
| | Total Hits: 88 | 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: 80 | Today: 0 | Author: Cristi Posea | Rating:  |
| |  If you use CFrameWnd's LoadBarState()/SaveBarState() to remember the positions of the control bars, you may run into this while developing your app - if you change the bar IDs, or simply remove a bar (it is no longer created in CMainFrame::OnCreate()), your app will crash. Why? Because in the LoadBarState() internals, there is a portion of code which retrieves the bar ID, calls CMainFrame::GetControlBar() and if the pointer returned is NULL (there is no controlbar created with this ID) it will a... |
| | Total Hits: 20 | Today: 0 | Author: Vineel Kumar Reddy Kovvuri | Rating:  |
| |  Have you ever thought of how your operating system(windows) is loaded? It’s quite interesting to know about the miniature details that are involved in the process. This article will shed some light on this topic.... |
| | Total Hits: 73 | 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: 85 | 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: 92 | 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: 92 | 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: 97 | Today: 0 | Author: Hans Dietrich | Rating:  |
| |  XTrueColorToolBar allows you to use true-color (24 bits per pixel) toolbars in your app by adding only one line of code. XTrueColorToolBar is based on Peter Lee's article Full-Featured 24-bit Color Toolbar. Peter describes his implementation in great detail, so I will not bother repeating it here. What I have done is wrap Peter's code in a C++ class, and add one additional feature: support for Office-style toolbar color button.... |
| | Total Hits: 88 | Today: 0 | Author: Randy More | Rating:  |
| |  It is very easy (once you see how it is done) to place combo-boxes, edit boxes, progress controls, etc. into toolbars. Below are two examples of this, in the first a ComboBox is placed on a toolbar, and in the second a cluster of checkboxes is added.... |
| | Total Hits: 101 | Today: 0 | Author: Jaime Olivares | Rating:  |
| |  I searched many times on the Internet for an easy way to implement an AppBar (desktop application toolbar) but without success. Microsoft provides some WinAPI shell functions like SHAppBarMessage (read here about it) and an old sample application (AppBar.exe). I tried it out but that was not what I expected because Shell AppBars reorganize the desktop to fit the toolbar, while I wanted a sliding bar that doesn't disturb other application windows or the desktop icons.... |
| | Total Hits: 93 | Today: 0 | Author: Darren S. Gonzales | Rating:  |
| |  When creating a toolbar in MFC, you can turn on either the CBRS_SIZE_FIXED style or the CBRS_SIZE_DYNAMIC style. With the fixed style, you define places where breaks should occur, and these cannot be changed by the user, either when the toolbar is docked or when it is floating (unless, of course, you have some property page somewhere to allow them to specify the size). With the dynamic style, the user can resize the toolbar when it is floating, but when it gets docked, it resets itself to a sing... |
| | Total Hits: 96 | 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: 42 | Today: 0 | Author: Nick Hodapp | Rating:  |
| |  Some of the interesting features in Microsoft Office products are those dealing with toolbars. Office toolbars behave similarly to rebars (coolbars) in that the user receives direct animated feedback as the bar is dragged and rearranged. Unlike rebars however, Office toolbars also behave like the standard MFC toolbars in that the user may "tear" a toolbar off of the application frame and float it in a separate window.... |
| | Total Hits: 71 | Today: 0 | Author: Tony. Smith | Rating:  |
| |  This idea came from Ziran Lin's article Pinnable ControlBar and Iuri Apollonio's article An Outlook98 bar-like control. I think that a dockable OutlookBar is very cool, so I wrote this article.... |
| | Total Hits: 86 | 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: 102 | 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: 100 | Today: 0 | Author: Kirk Stowell | Rating:  |
| |  If you wanted to add hot toolbar buttons like the ones seen in internet explorer, it is pretty straight forward. This approach for will work for both Visual C++ 5 and 6, however you may want to read up on the enhancements to the toolbar class for VC 6.0.... |
| | Total Hits: 78 | Today: 0 | Author: DCUtility | Rating:  |
| |  CTrueColorToolBar is a real true color toolbar. Implementation of the class is very very easy. The particularity of this toolbar is the auto detection of the mask color with the DIB section of the first pixel of bitmap toolbar.... |
| | Total Hits: 78 | Today: 0 | Author: Tom Shope | Rating:  |
| |  This brief article describes a simple way to add a toolbar inside one or more panes of a splitter window. Typically when you create a splitter window in the OnCreateClient method of your CMainFrame class, you supply CView derived classes to the CSplitterWnd::CreateView method. However, the class supplied does not need to be a CView derived class. It can be any CWnd derived class. If you look inside the MFC code for the CSplitterWnd class you will see that the class uses CWnd pointers not CView p... |
| | Total Hits: 71 | Today: 0 | Author: G. Steudtel | Rating:  |
| |  Imagine you have a dialog, where you can enter text and other data related to the text. While the text should be formatted, the normal data entries should not. So you place a toolbar into your dialog, that has all the formatting buttons you need and find out, that it will dock only at the edges of your dialog. But I (the customer) wants this thing, where it belongs to: right over the format-able text entry.... |
|
|
|
|
|
|
|
|
|
|
|
|
|