You can set message breakpoints to stop the debugger when a particular WndProc function message is received.
Note Message breakpoints work only on x86- or Pentium-based systems.
To set a breakpoint on a message
The Breakpoints dialog box appears.
If you are setting a breakpoint during a debug session, the list contains the exported functions in your project.
The Breakpoints list displays the currently active breakpoints.
Note If you interrupt execution while Windows or other system code is running, the results can be unpredictable.