Graphics Class Design : Shape
Class Shape can provide you with the ability to represent things appearing in a Window. Learn about this class from an industry legend.
Class Shape can provide you with the ability to represent things appearing in a Window. Learn about this class from an industry legend.
Learn how to fixing flickering issues when drawing graphics by using double buffering.
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.
Discover a very simple, integrated method to make a control, such as static, button, sliderctrl, and progress control transparent in a dialog box.
Observe the use of a small framework for building alert windows that can be customized in various styles.
Learn how to show multiple views in a frame window without using a splitter.
Take a closer look at the 2 Gb limit that we are plagued with in different languages, and how to get around them.
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.
Learn how to loop through an icon sequence, simulating animation, while your application is minimized.
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.
Learn about a class that displays and automates a translucent, shadowed modal dialog with a progress sphere.
Limit your dialog-based programs to a single instance by modifying the dialog template.
Learn how to colorize the scroll bars of your application's Window.
Learn about a customized version of the "Browse for folder" dialog that creates quick picks to your selected directories.
Learn about CFileDialog-derived classes that offer an easy way to implement File Open and Save As dialogs in MFC applications that use GDI+.
Learn how to add genuine Windows XP theme support to Rich Edit controls and extend the code for your own custom controls!
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.
Learn about processes, threads, and a couple of thread synchronization techniques.
Build a real multithreaded splash, with the slow loading process and the animated splash running simultaniously.
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.
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.
BiSplitter is MFC-compatible class for creating a splitter window that looks like a Microsoft Outlook window.
Learn about a DirectX Quaternion-based camera class to implement the camera modal in 3D flight simulations.
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.
Learn about a splitter control derived from CStatic for dialog controls and not only within a restricted splitter pane.
Set extended styles of controls, dialogs, dialog bars and property pages at runtime for DIALOG and DIALOGEX resources.
Learn to create a "splash" window at an application's startup.
Framework to build and use Visual Studio .NET-style Tear Off Panes
A Snap Size Dialog Class
Framework to build and use Visual Studio .Net style Tear Off Panes
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.
Learn how to determine whether a printer supports color printing.
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.
Adding skins to a dialog-based application.
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.)
Use this caption/title bar for applications that require something extra.
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.)
Explore how to turn any running application transparent in the same way as the layering features of Windows 2000 or Windows XP.
Create a complex user interface with many views, tabs, and splitters.
Examine how to select the style, width, and color attributes for a CPen object from a dialog.
Build an extended CScrollView with added zooming capabilities. (The article and demo project/source code file were updated.)
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.
Develop a reusable dialog class with flexible message handling without using MFC. (The article, source code, and EXEC file were updated.)
Learn how to use a "complete" color selection dialog. This dialog is built using pure win32api (no MFC).
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.
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.
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.)
Learn how to create a shaped window using a bitmap image file.
How to implement a CSplitterWnd into a CDialogBox in three easy steps without overriding any function or writing new classes.
A solution for having a variable number of buttons on a dialog.