In the current version of my MenuUsage tool, the code to generate text output is executed at the same time as TrackPopupMenu. Each time you double-click on a menu handle, the DumpMenu method writes the output using the TRACE method, as you can see in MenuUsageDlg.cpp. If you need ...