WH_SYSMSGFILTER top-level constant
int
const WH_SYSMSGFILTER
Installs a hook procedure that monitors messages generated as a result of an input event in a dialog box, message box, menu, or scroll bar. The hook procedure monitors these messages for all applications in the same desktop as the calling thread.
Implementation
const WH_SYSMSGFILTER = 6;