Derive your dialog class from CFloatingDialog and a couple of settings. You can create the sliding effects of the dialog in left, right, up, down and center directions from the other directions.
Latest General Articles - Page 6
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.
Read about all the hot topics that have been on the CodeGuru forums this past week.
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.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Discover Code::Blocks, an open source IDE for C/C++.
LINQ has a trick up its sleeve from .NET 4 onwards for dealing with large amounts of data and multiple CPUs. Learn to leverage LINQ.
Create a multi-channel application with DevExtreme and Visual Studio.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.