Creating a Dialog with a Variable Number of Buttons
A solution for having a variable number of buttons on a dialog.
A solution for having a variable number of buttons on a dialog.
Another look at cleanly resizing a dialog and its controls.
Find, view, and delete cookies that have been left on your machine.
If you want to work with nonresizable, nonmovable windows, insert this code into your project (SDI or MDI applications). (The article was updated.)
Position-interdependent popup windows have been used to great effect in current applications to simplify the organization of a complex UI. This article presents a flexible, if somewhat rustic, technique for accomplishing this behavior. (The source code was updated.)
SDI applications created with MFC comes with a default background color of white. Learn how to implement any color you desire.
Create splash screens for your applications without the use of MFC.
How to create a single-document application by using a multi-document interface (MDI). You may have zero or one documents at a time.
A flexible and user-friendly Region Dialog that support things to permit the user to render a region from both image resource and images files such as bitmap and JPEG. You can drag and drop to apply new images; press Ctrl+Z to go back through all the images you have used, select the background color on different files, and even zoom the images to any ratio you like. Also includes accessory functionalities such as "Lock Machine," "Shut Down Machine After n Minutes," "Start Screen Saver," and so on.
Discover this method for creating splitter windows with thin frames, which is useful when creating a data view with a scale (splitting data view and scale into separate windows).
Create a splash screen or skeleton application by using non-rectangular windows. The dialog is shaped by a supplied bitmap. The demo also demonstrates dragging the dialog by clicking anywhere on a visible portion, as well as timer events and using a button on the transparent dialog.
Discover how to make dialog applications of non-rectangular shapes and how to rotate those custom-shaped windows. (Very cool!)
Learn about various solutions for processing keyboard messages in dialogs and form views.
See how to select multiple files from the Open File dialog without creating a new class.
Manage shareware application registration and trial periods with this dialog.
Creating non-standard Windows interfaces is cool. Learn a program technique using window regions and CButton class overloading.
SDI Projects have one View associated with one document. This article lets you use more than one view dynamically.
Extremely useful tool that enables you to redirect the output of applications to a window. Also includes CRedirect class for inclusion in your own applications.
CDialog using animated control
CFormView Class with Custom Background Color
Learn how to re-derive a CDocument class to gain automatic file encryption and decryption that includes backward compatibility of existing files. (Encryption applicable to other areas as well.)
[Update] Tired of having to navigate from "MyDocuments" for a document every time you open your app? This class stores your Most Recently Used Directory (MRUD) in the Registry for the next time you open the application.
Build a class to display popup dialogs like the the MSN messenger window. This supports non-rectangular windows by using a BMP with a transparency color.
This article explains about how to hide the splitter window and make it non-resizable.
Create a configuration sheet manager similar to what is in Mozilla or Netscape Navigator. This is a set of dialogs associated with list/tree controls.
The CSplitterWnd class of MFC does not draw panes while resizing. This class allows you to show a window's contents while you are resizing the splitter pane.
Discover how to move the cursor, clear the screen, and set colors in the console.
Windows distinguishes the console or GUI program from PE file's Subsystem value. This article explains those and show simple sample program.
Enhance the user interface for your application by closing its windows in a smoothly way--make your window disappear (fade out) slowly while its closing.
Include text justification, different fonts, and styles to give the information in your dialogs a little more pizazz. Uses a simple markup language.
An MFC Convenience Class for Wizard Dialogs.
A very COOL color pick dialog with a color dropper like Photoshop and FrontPage 2000.
There are three controls included with the demo project, which are CLumChooser, CHusSatChooser and CColorBox.
A simple, clean and straightforward way to add resizing dialogs, property sheets, forms and windows to your application.
Create a "Find in Files" functionality similar to that found in Visual C++ 6.0.
This application shows a COLORREF structure that use Slider Control to determinates your 24-bit RGB color and shows also simple way to communicate between CSliderCtrl, CEdit, and CStatic.
Adding a view to a dialog.
This control, CStartupTip, helps to create a dialog "Tip of the Day" like WinZip "Tip of the Day".
CLayeredWindowHelperST is a wrapper class of all required APIs to add support for transparent (layered) windows to your applications.
The CMonitor control is a lightweight class suitable for displaying dos text screen in Dialog.
Open multiple sites in one window.
There are times when one would like to display messages in an non-obtrusive way. Message Balloons are one of the new ways.
Code to provide a detail view by default in your extended FileOpen dialog.
So you want to use the new style of dialog where you pick an option from a tree on the left and the appropriate form shows up on the right. This article shows you were to start and how to accomplish this!
CSplitDialog for Dialog based Applications
Create a dynamic dialog that can change its controls based on a listbox selection.
Have you ever needed a messagebox style dialog to wait before allowing processing to continue and then disappear automatically? This DLL has a simple dialog box with a progress bar that does just that.
This is a simple way to use a personnal dialog that appears when your application uses more than one document template and you click the 'new' button, or during the start of the appliacation.