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
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn about the Cursor object and how you can utilize it properly from your Visual Basic program.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!