int afxTraceFlags;
Remarks
Used to turn on the built-in reporting features of the Microsoft Foundation Class Library.
This variable can be set under program control or while using the debugger. Each bit of afxTraceFlags selects a trace reporting option. You can turn any one of these bits on or off as desired using TRACER.EXE. There is never a need to set these flags manually.
The following is a list of the bit patterns and the resulting trace report option:
The report is made after the Windows GetMessage call but before any message translation or dispatch occurs.
Dynamic data exchange (DDE) messages will display additional data that can be used for some debugging scenarios in OLE.
This flag displays only messages that are posted, not those that are sent.
Also reports which class receives the command (when there is a matching message-map entry), and when classes do not receive a command (when there is no matching message map entry). This report is especially useful to track the flow of command messages in multiple document interface (MDI) applications.
Turn this option on for an OLE client or server to track communication between the OLE DLLs and an OLE application.
For more information, see Technical Note 7.
See Also afxTraceEnabled, TRACE