An alternative for the standard debugging means TRACE and afxDump.

The output stream in question directs the output to a standard MFC editor window. It is designed for using in MFC projects but it behaves like the std::cout in a console application. In particular, when the OutputCOMEditor::flush() function is called the new data appears in the editor window immediately (before exiting current scope of the code). Such a property makes the stream helpful when debugging.
Note that the manipulator endl does not flush the stream.

Demonstrations.
Description of components and installation .
Example of using  (the leftClick example).
Step-by-step explanation of implementation .

This example elaborates on

Hosted by www.Geocities.ws

1