MFC: Controlling Notepad From C++ Applications
Discover how to start and control a third party GUI application, particularly the Notepad text editor, from your own C++ applications.
Discover how to start and control a third party GUI application, particularly the Notepad text editor, from your own C++ applications.
This article serves as a brief introduction to the new API allowing users to create animations in MFC applications.
A number of factors are driving the requirement for applications to correctly support high DPI settings--increased monitor resolutions are making it more difficult for users to read text on the screen, compliance with disability access legislation is an increasingly important factor for corporations, and users are now expecting applications to behave well at higher DPI settings. MFC 10 and Visual C++ 2010 have built-in support for high DPI, making the development of a DPI-aware application quicker and more simple.
The introduction of the iPad and other slates demonstrates that end users have a strong appetite for touch-enabled experiences. MFC 10 adds comprehensive support for touch functionality, allowing users with tablet PCs and digitizers to interact with applications in a simple, natural manner, including gestures and multi-touch.
Discover the new features in ASP.NET MVC 2.0 and how you can leverage them in your applications.
This C++ tutorial demonstrates how MFC 10 delivers on it's promise by delivering the boiler-plate functionality required to build a professional Windows C++ application with minimal effort while allowing .NET developers to customize aspects of MFC behavior.
C++ Programming is having a revitalization of Microsoft Foundation Classes (MFC) which continues to deliver simple integration with powerful Windows features. In this article, we'll look at Preview and Thumbnail Support, and how these features can be easily implemented in an MFC application.
The article will help the readers understand what size_t and ptrdiff_t types are, what they are used for and when they must be used. The article will be interesting for those developers who begin creation of 64-bit applications where use of size_t and ptrdiff_t types provides high performance, possibility to operate large data sizes and portability between different platforms.
See how to set up a single bit!
Pursue a description of a number of parallel code errors that lead to incorrect behavior of parallel programs created with OpenMP.
The Visual C++ 2008 Feature Pack incorporates C++ language changes that move C++ closer to the upcoming C++0x standard. The new language elements build on the powerful features of the C++ language, and include support for regular expressions, function objects, and a number of new STL containers as well as many other new features. Review some of the new language features, and see how they can be incorporated into C++ applications.
Learn how to implement scrolling and zooming in MFC's Property Page.
Learn about different methods of run-time type checking in C++.
Learn about a C++ mechanism to handle and manipulate different currencies.
Learn how to save a Windows region to a file with CRgn::GetRegionData and how to load and re-create it with CRgn::CreateFromData the MFC way.
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 write an event-driven program in logic flow instead of execution flow to increase readability, reduce bugs, and maintenance cost.
Learn about a new way to manipulate edit and static controls.
Learn about a lightweight class that prints EAN13 barcodes and displays captions.
Learn how to run state machine application framework-based Win32/WinCE programs using window message hooking technology.
Drill down deeper into MFC 8.0 with a look at control placement and event handling, the MFC classes used for the Windows Forms integration, and the Windows Presentation Foundation (formerly known as Avalon).
The migration path from MFC to fully native applications is a slow one because Windows Forms lacks many of the advanced features of MFC. See how much easier MFC 8.0 makes Windows Forms integration.