One possible way is to use the Visual Studio tool Spy++. Give this a try: Run the tool (for me, it's at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\spyxx_amd64.exe)In the menu bar, select Spy -> Log messages... (or hit Ctrl + M)Check All Windows in System in the Additional Windows frameSwitch to the Messages tabClick the Clear All buttonSelec..