Usage For each project you define a symbol called EVENTDEBUG in your central project configuration include file. Because there is a large amount of window messages being passed to windows applications, enabling to display all of them, creates a large amount of text output. The parsing and displaying into readable text, can significantly slowdown your application. Therefore we handle two different cases.
Case 1 - During development Case 2 - for beta or final release
A simple (though not perfect) solution is to use a global definition in a central place. As this kind of problem is a part of most windows applications, it should be easy to drop it into any project to use it. Personally i use a unique "apptypes.pbi" include file for all main project settings. top of your main project source file: