08-24-2015, 04:26 PM
The reason is what tells you the tooltip: "Note: this is snapshot, not real windows...". It is a full-screen window (hDlg) covering all other windows. To display something, use eg OnScreenDisplay or some other topmost window, or even draw the text in hDlg.
