|
|
|
|
|
| | Total Hits: 99 | Today: 0 | Author: Bill Heitler | Rating:  |
| |  I wanted to display a PropertySheet within a dockable toolbar, I wanted the sheet to have a title in both the docked and undocked state so that the user knew what it was about, and I wanted it to dock to an MDI View rather than to the main frame. I doubt if these requirements would be much of a challenge to a professional MFC programmer, but since I'm not one, it took me a while to figure it out, and I thought it might save others some time if I shared the code.... |
| | Total Hits: 71 | Today: 0 | Author: Masoud Samimi | Rating:  |
| |  This article and the demo app is to teach how to create toolbars with spinners and/or sliders on them. However, you can use the classes for each one of them as they are with very little midifications as per your own requirements in your application. The idea and implementation is fairly easy when you come to do it yourself from scratch, however, but please note that you don't miss the main or the most important piece of code. They are the following 2 lines of code that come in the message handle... |
| | Total Hits: 91 | Today: 0 | Author: Douglas R. Keesler | Rating:  |
| |  Please note that I have added a downloadable demo project for Visual Studio 2005 users. Everything in the original article applies to Visual Studio 2005 usage as well, except for the bit about using ClassWizard to create your class/object associations. I'm assuming that if you are using Visual Studio 2005, you already know how to define associations, add event handlers, etc. So, just ignore the ClassWizard comments. The important thing is that if you derive your own class, you must make certain ... |
| | Total Hits: 92 | Today: 0 | Author: ziran lin | Rating:  |
| |  This article is based on the article CSizingControlBar - a resizable control bar by Cristi Posea. It implements a control bar that can be pinned.... |
| | Total Hits: 71 | Today: 0 | Author: Member 307612 | Rating:  |
| |  Everybody who used full-color images for toolbars have been faced with the problem of creating disabled/inactive images. Whether you order images from a professional artist, or get them from shell32.dll from WinXP, in most cases you only have normal images. The common way is preparing copies of bitmaps for disabled/inactive glyphs using a simple image editor. For example, I have used editing features of IrfanView. But this approach has several drawbacks - you have to store multiple images which ... |
| | Total Hits: 83 | Today: 0 | Author: Patrick Etc. | Rating:  |
| |  This article describes how to create a TaskPane control that mimics the TaskPane seen in Microsoft Office XP and 2003 (I don't have a copy of Office 2007, so I have no idea if this interface has been retained). I will describe the implementation of the control, but I will pay special attention to the design-time features included in the control, because that was the more challenging aspect of this project.... |
| | Total Hits: 80 | Today: 0 | Author: Ingo A. Kubbilun | Rating:  |
| |  This article presents a full implementation of the Windows XP Explorer Bar as a set of Win32 controls and a MFC wrapper. The Explorer Bar works on Windows 98/Me/2k/XP and is fully shellstyle.dll aware, i.e. can be used with any XP visual theme (standard, 3rd party non-standard, and the classic Windows scheme).
The new custom controls include extended button controls, extended static controls, tasklink controls, and collapsible header controls.... |
| | Total Hits: 34 | Today: 0 | Author: Jose M. Menendez Poó | Rating:  |
| |  Because of the lack of good free Ribbon controls on the web, I decided to write one myself. I've analyzed previous work on ribbon-controls, including those on CodeProject. Unfortunately, most existent controls are merely bad tries. Why? well, some lack nice rendering, some lack resizing features, some lack almost everything. Of course, well developed Ribbon controls are available at a price. This ribbon is free.... |
| | Total Hits: 94 | Today: 0 | Author: Nicolas Gazelle | Rating:  |
| |  This class can be used to create a collapsible, resizable and dockable XP style control bar with very few lines of code.
The following files must be added to your project.
* CollapsiblePanel.h * CollapsiblePanel.cpp... |
| | Total Hits: 69 | Today: 0 | Author: Quynh Nguyen | Rating:  |
| |  A nice user interface is an important part of a good application besides other criteria like performance, stability/reliability... Personally, I really like following libraries which were published on CodeProject long time ago.
* Custom Tab Controls, Tabbed Frame and Tabbed MDI by Daniel Bowen * WTL Docking windows by Sergey Klimov * Tab controls and Splitters - mixing together by Igor Katrayev... |
| | Total Hits: 114 | Today: 0 | Author: drice | Rating:  |
| |  In the following article, I will describe a mechanism that makes it possible to use anchoring and docking for your controls within dialogs and windows. Docking and anchoring of controls means that some or all controls in a dialog or just a normal window adjust their size and position according to the size of the parent-window (a dialog or view for example). You've already seen this mechanism in many applications. The contact-form in MS Outlook is a good example. If you resize the form, the input... |
| | Total Hits: 68 | Today: 0 | Author: Dirk Clemens | Rating:  |
| |  This article extends the article CSizingControlBar - a resizable control bar by Cristi Posea. Webmaster's note: the CSizingControlBar class used in this code is an earlier version; follow the link above for the latest one.... |
| | Total Hits: 71 | Today: 0 | Author: Greg Winkler | Rating:  |
| |  A client recently asked me for a component that could be used in a Win32 application, as well as embedded in a web page. My solution was to write an ActiveX control that I could embed in a CDialog for the Win32 app and use the OBJECT tag in IE to embed the control in a web page. When they asked me if I could do docking windows like in Visual Studio, that lead me to The Code Project, where I found Cristi Posea's excellent docking window code.... |
| | Total Hits: 75 | Today: 0 | Author: Rob Finch | Rating:  |
| |  I like Cristi Posea's implementation of sizing docking control bars and decided to use them in a project I am working on. Unfortunately, I really needed to use them with views, and set about investigating this. I read in one of the comments that a few people have tried using a frame window to aid the MFC framework in order to use views. I decided to see how hard it would be. For what I need it for it turns out to be relatively easy. Note I'm not describing how to deal with multiple views on m... |
| | Total Hits: 83 | Today: 0 | Author: Jeff Glatt | Rating:  |
| |  This tutorial will show you how to create docking tool windows, using only the standard Win32 graphics and Windows functions (i.e. no MFC, WTL, Automation, etc.). A docking tool window is a window that can either be "attached" (i.e. "docked") to the inner border of some other window, or be "torn off" of that border (by the end user) to float freely and be moved around by the mouse. A window, to which some tool window may be docked, is called the owner (or container) window.... |
| | Total Hits: 70 | Today: 0 | Author: Cristi Posea | Rating:  |
| |  # Resizable control bar, that can be resized both when docked and when floating. # Multiple sizing control bars can be docked on the same row/column. # Full dynamic resizing, both when docked and floating, including diagonal resizing when floating. # State persistence support (SaveState/LoadState). # Gripper with "hide bar" flat button.... |
| | Total Hits: 73 | Today: 0 | Author: David Hay | Rating:  |
| |  With a Setup project created using Visual Studio .NET 2003 it is easy to add a Desktop shortcut to your application. But creating a shortcut based on a condition is not supported. Also, adding a shortcut in the Quick Launch bar is not supported. This article shows you how you can allow the user to choose whether to add these shortcuts. While developing this solution, I also needed to overcome a limitation with the System.Environment.GetFolderPath method and the System.Environment.SpecialFolder e... |
|
|
|
|
|
|
|
|
|
|
|
|
|