You can monitor messages sent to a window by right clicking on
that window in the tree and selecting "Messages...".
A window will open displaying any further messages that the selected
window receives. You can view the message names (as defined by Windows)
as well as their parameters (wParam and lParam) and return result.
An example of the Messages dialog.