Saturday, August 28, 2021

MFC application & Win32 application quick tips

some quick notes

  1. Introduction to MFC Applications
  2. Microsoft Visual C++ allows you to create various types of projects ranging from console applications to complex libraries, from Win32 applications to communications modules or multimedia assignments..

  3. Your First MFC Application
  4. It's time to build your first MFC application. And what better place to start than with one that displays "Hello, MFC" in a window? Based on the classic "Hello, world" program immortalized in Brian Kernighan and Dennis Ritchie's The C Programming Language (1988, Prentice-Hall), this very minimal program, which I'll call Hello, demonstrates the fundamental principles involved in using MFC to write a Windows application. Among other things, you'll get a close-up look at MFC's CWinApp and CFrameWnd classes and see firsthand how classes are derived from them and plugged into the application. You'll also learn about the all-important CPaintDC class, which serves as the conduit through which text and graphics are drawn in a window in response to WM_PAINT messages. Finally, you'll be introduced to message mapping, the mechanism MFC uses to correlate the messages your application receives with the member functions you provide to handle those messages..

  5. Programming Windows with MFC, Second Edition
  6. Programming Windows with MFC, Second Edition- Authors: Jeff Prosise.

  7. Lesson 3: MFC Application Framework
  8. In addition to the encapsulation of the Win32 API, MFC defines a small group of classes to represent common application objects, and establishes relationships within this group to implement fundamental Windows application behaviors. These application architecture classes, along with a number of global functions, comprise an application framework that you can use as a basis for constructing applications. You can use the MFC AppWizard to generate a set of classes that is derived from the framework classes. You can build upon these classes to construct an application to suit your individual requirements..

  9. Introduction to Microsoft Windows MFC Programming: The Application/Window Approach
  10. PDF class notes.

  11. VC++ Tool: MFC under the hood, WinMain, VC++ Programmer
  12. Explains the basic MFC program flow including where WinMain and the message loop are hidden .

  13. Adding Printf-able Console Window to MFC application.
  14. If you have ever written an MFC application, you may have missed console window. A console window is such convenient. Like me, you may believe that printf is the most excellent function for debugging. (I hate cout though. Don't use IOSTREAM and STL! They mess everything up!). You can terminate a not-responding program simply by pressing CTRL+C key on a console window without opening Task Manager. However, by default, an MFC application doesn't have a console window. But, adding a short source code (30 lines) to your project and changing a link option will add a console window to your MFC application..

    FastGRaph package

  15. First: C++ Using MFC
  16. C++ programs that use the Microsoft Foundation Class (MFC) application framework can be easily created with Fastgraph's MFC AppWizard for Visual C++ 5.0 or later. To use Fastgraph's MFC AppWizard, copy the file FGwiz.awx from the Fastgraph utilities directory to your Visual C++ Template directory. Once installed, "Fastgraph MFC AppWizard" will be one of the options listed when you create a new Visual C++ project. If you wish to uninstall the AppWizard, just delete FGwiz.awx from the Template directory..

  17. Fastgraph 3D Tutorial
  18. Welcome to the Fastgraph 3D tutorial! Whether you are a current Fastgraph user, or just want to learn more about 3D programming, you will find interesting information here.

  19. Fastgraph 6.0 for Windows Online Help
  20. 3D Graphics Fundamentals: Function Summary
  21. 3D Graphics Fundamentals: Function Summary.

  22. 2D Graphics Fundamentals: Function Summary
  23. 2D Graphics Fundamentals: Function Summary

  24. Example: Graphics Primitives
  25. Example: Graphics Primitives Here's an example program that uses many of Fastgraph's graphics primitives. The program has a top-level menu with selections for different graphics primitive demonstrations, as shown here:.

  26. Fastgraph 3D Tutorial
  27. Welcome to the Fastgraph 3D tutorial! Whether you are a current Fastgraph user, or just want to learn more about 3D programming, you will find interesting information here..

  28. programmer's graphics library:FASTGRAPH HELP
  29. The complete Fastgraph 6.0 User's Guide and Reference Manual are available here. These two manuals are in Adobe Acrobat (PDF) format and total approximately 1100 pages (2.3MB zipped)..

  30. Windows Programming using Visual C++
  31. 100 pages of PDF file.

  32. ABOUT FASTGRAPH: evaluation copy download
  33. Evaluation Version: Fastgraph/Light 6.0 for Windows Fastgraph/Light 6.03 for Windows evaluation version of Fastgraph 6.0 for Windows (6.3MB zipped). This distribution includes the Fastgraph help file, but not the manuals in PDF format.

  34. This is a paragraph.

  35. This is a paragraph.

  36. This is a paragraph.

No comments:

Post a Comment