Home >> Visual C++ / C++ >> Windows & Dialogs
Windows & Dialogs
next
Graphics Class Design : Shape
Rating: none
Bjarne Stroustrup - 02/05/2009
Class Shape can provide you with the ability to represent things appearing in a Window. Learn about this class from an industry legend.
Using Windows Vista Built-In Double Buffering
Rating: none
Marc Gregoire - 12/01/2008
Learn how to fixing flickering issues when drawing graphics by using double buffering.
There is More Than Just a Little Touching...
Rating: none
Bradley Jones - 11/24/2008
The way you interact with a personal computing device is changing and is about to change even more with lots of touching and even a little hidden video.
General Solution for a Transparent Control
Rating: 




galexding - 10/24/2008
Discover a very simple, integrated method to make a control, such as static, button, sliderctrl, and progress control transparent in a dialog box.
[Updated] Customizable Alert Window
Rating: none
Marius Bancila - 09/26/2008
Observe the use of a small framework for building alert windows that can be customized in various styles.
Multiple Views Layout Without a Splitter
Rating: none
John Z. Czopowik VC++ MVP - 01/25/2007
Learn how to show multiple views in a frame window without using a splitter.
Getting Past the 2 Gb File Limit
Rating: 




Richard Newcombe - 01/22/2007
Take a closer look at the 2 Gb limit that we are plagued with in different languages, and how to get around them.
[Updated] A Deterministic Method of Determining a Document's Modified State
Rating: 




Jeffrey Walton - 11/29/2006
Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.
Animate an Icon on the Taskbar when the Application Is Minimized
Rating: 




Kevin Choong - 10/05/2006
Learn how to loop through an icon sequence, simulating animation, while your application is minimized.
[Updated] Resources Explorer
Rating: 




Georges Dumond - 09/07/2006
Learn about a search files with resources to explore it. The selected resource can be extracted. This tool is a sample of using Splitter, List, Tree, and resource display.
Progress Sphere
Rating: none
Robert Tari - 06/23/2006
Learn about a class that displays and automates a translucent, shadowed modal dialog with a progress sphere.
[Updated] TIP: Dialog-Based, Single-Instance Applications
Rating: 




pkhach - 04/06/2006
Limit your dialog-based programs to a single instance by modifying the dialog template.
Colorizing the Scroll Bars of Your Application's Window (not yet reviewed)
Rating: 




Habeeballah Hasnoddin - 03/27/2006
Learn how to colorize the scroll bars of your application's Window.
Browse for Folder with a Quick Pick
Rating: 




Lars Werner - 03/21/2006
Learn about a customized version of the "Browse for folder" dialog that creates quick picks to your selected directories.
File Open and Save As Dialogs for MFC Applications Using GDI+
Rating: 




Ovidiu Cucu - 03/07/2006
Learn about CFileDialog-derived classes that offer an easy way to implement File Open and Save As dialogs in MFC applications that use GDI+.
[Updated] XP Theme Support for Rich Edit and Custom Controls
Rating: 




Patchou - 01/12/2006
Learn how to add genuine Windows XP theme support to Rich Edit controls and extend the code for your own custom controls!
Puzzle, a Game with the MFC Doc/View Architecture (SDI/MDI)
Rating: 




Georges Dumond - 06/02/2005
Learn how to display a menu with thumbnails and several other windows, move and manage the pieces of a puzzle with a linked list, and then show them without flicker.
Win32 Thread Synchronization, Part I: Overview
Rating: 




Arjay - 05/20/2005
Learn about processes, threads, and a couple of thread synchronization techniques.
Animated Multithread Splash
Rating: 




endether - 02/11/2005
Build a real multithreaded splash, with the slow loading process and the animated splash running simultaniously.
Visual Studio.NET Style Tear Off Panes - Part IV
Rating: 




kirants - 01/07/2005
Learn about a framework that can be used to implement Visual Studio.NET-style Tear Off panes. The framework uses the commonly used MFC classes to achieve the functionality. This article is the fourth in the series.
Working Around a VS .NET 2003 DDE Bug
Rating: 




John Z. Czopowik VC++ MVP - 11/15/2004
An MDI or SDI application supporting DDE, created by VS 7.1 (.NET 2003), fails to open a document using DDE (Dynamic Data Exchange).
Learn an easy way to rectify this problem.
[Updated] BiSplitter 1.1
Rating: 




Sergey Polyakov - 10/29/2004
BiSplitter is MFC-compatible class for creating a splitter window that looks like a Microsoft Outlook window.
D3DXQUATERNION-Based Camera for Flight Simulations
Rating: none
Ejaz Anwer - 10/12/2004
Learn about a DirectX Quaternion-based camera class to implement the camera modal in 3D flight simulations.
Visual Studio.NET-Style Tear Off Panes - Part III
Rating: 




kirants - 08/19/2004
This article discusses a framework that can be used to implement Visual Studio.NET-style Tear Off panes. The framework uses the commonly used MFC classes to achieve the functionality. This article is the third in the series.
CSSplitter: Splitter with the Ability to Save/Restore Its Position
Rating: 




atamas - 08/16/2004
Learn about a splitter control derived from CStatic for dialog controls and not only within a restricted splitter pane.
Setting Extended Styles of Controls, Dialogs, Dialog Bars, and Property Pages at Runtime
Rating: none
Stefan Kuhr - 07/23/2004
Set extended styles of controls, dialogs, dialog bars and property pages at runtime for DIALOG and DIALOGEX resources.
CSplash—A Splash Window Class
Rating: 




Abhinaba Basu - 07/16/2004
Learn to create a "splash" window at an application's startup.
Visual Studio.NET Style Tear Off Panes - Part II
Rating: 




kirants - 06/03/2004
Framework to build and use Visual Studio .NET-style Tear Off Panes
[Updated] A Snap Size Dialog Class
Rating: none
Mike Scanlon - 05/11/2004
A Snap Size Dialog Class
Visual Studio.NET Style Tear Off Panes - Part I
Rating: 




kirants - 05/05/2004
Framework to build and use Visual Studio .Net style Tear Off Panes
Dynamic Creation of Thread-Separated Dialogs Having Only Its Class Name
Rating: 




Dmitri Shorin - 04/06/2004
The article describes a way of creating class objects by naming its classes. This way permits you to create a new class object by calling a function or class method that receives as input parameters pointer to CRuntimeClass object. In general, it shows you how to design a mechanism that creates a user-selected dialog window in its own child thread.
How to Determine Whether a Printer Supports Color
Rating: 




Mike Harnad - 03/25/2004
Learn how to determine whether a printer supports color printing.
Flexible Screen Designer
Rating: 




John Indigo - 03/18/2004
The dynamic screen classes allow you to incorporate advanced screen functionality into your MFC applications.
The fundamental difference of these classes are that they work with the actual resource in your executable—this means that users of your applications can alter screens that have been designed by you using the MFC resource editor—they can make changes at run time.
[Updated] Skins in a Dialog-Based Application
Rating: 




Sonu Kapoor - 03/10/2004
Adding skins to a dialog-based application.
Cool Color Selector Including Hue, Saturation, and Lumination
Rating: 




Lea Hayes - 02/19/2004
This color selector helps to make selecting colors more efficient. This article contains full source code of the color selector and a demonstration application. (The demo project, source code, and illustration were updated.)
Full-Screen Caption Bar
Rating: 




Lars Werner - 02/10/2004
Use this caption/title bar for applications that require something extra.
Professional User Interface Suite
Rating: 




Sergiy Lavrynenko - 01/13/2004
Enable your software to be provided with a professional and user-friendly interface with this MFC extension library, Professional User Interface Suite. (The article and demo project were updated.)
Making Any Application Transparent in Windows 2000/XP
Rating: 




Abhinaba Basu - 12/09/2003
Explore how to turn any running application transparent in the same way as the layering features of Windows 2000 or Windows XP.
Multi-Page Interface
Rating: 




Michal Mecinski - 11/07/2003
Create a complex user interface with many views, tabs, and splitters.
A Line Picker
Rating: none
André Deperrois - 10/23/2003
Examine how to select the style, width, and color attributes for a CPen object from a dialog.
Look Closer with QZoomView
Rating: 




Sjaak Priester - 10/15/2003
Build an extended CScrollView with added zooming capabilities. (The article and demo project/source code file were updated.)
Creating a Multithreaded SDI Application
Rating: 




Michal Mecinski - 09/11/2003
How to create an application with multiple SDI windows (such as the new MS Word) by using the MFC framework with multithreading. (The article, demo, and source code were updated.
Creating a Reusable Dialog Class without MFC
Rating: 




Daniel Bartsch - 09/05/2003
Develop a reusable dialog class with flexible message handling without using MFC. (The article, source code, and EXEC file were updated.)
Creating a Custom Color Selection Dialog
Rating: none
Oto Spal - 07/24/2003
Learn how to use a "complete" color selection dialog. This dialog is built using pure win32api (no MFC).
Processing System Messages
Rating: none
Pratap J. Prabhu - 07/22/2003
When running in a loop within a dialog box, the command buttons do not work. While other authors have shown how to use separate threads to run a modal dialog box, this article shows how to process the Message Loop within the same dialog by adding a simple function and making calls to it.
CDialogSK, A Skinnable Dialog Class
Rating: 




Abhinaba Basu - 07/07/2003
This article discusses the CDialogSK class, which extends the MFC CDialog. See how to add transparency to a dialog, how to add a bitmap to the background, how to set a style for the background, and more.
A Splash Screen with Alpha Blending
Rating: none
Leonardo Bernardini - 06/09/2003
Have you ever thought about creating a splash screen that melts with the background using an Alpha channel together with the splash bitmap? This three-class implementation could help you do this. Includes explanations of Alpha Blending routines and GDI functions such as GetDIBits and SetDIBits. (The demo project was updated.)
Creating Shaped Windows Using Regions with Win32
Rating: none
Sanchay Banerjee - 06/03/2003
Learn how to create a shaped window using a bitmap image file.
Creating a Splitter Window in a Dialog Box in Three Easy Steps
Rating: none
Charles Bonneville - 05/05/2003
How to implement a CSplitterWnd into a CDialogBox in three easy steps without overriding any function or writing new classes.
Creating a Dialog with a Variable Number of Buttons
Rating: none
Daniel Aston - 05/01/2003
A solution for having a variable number of buttons on a dialog.
next
