The solution to this was to unacquire all input devices and stop the rendering routines when the focus was lost from the application. I just set the app to keep track of whether or not it has focus, and to adjust the value appropriately in the Windows message pump for the appropriate messages. Specifically, I set focus to "off" when I receive the following messages:
WM_SIZE
(when wParam
= SIZE_MINIMIZED
), WM_KILLFOCUS
, WM_ENTERSIZEMOVE
, and WM_ENTERMENULOOP
I set focus back on for the following messages:
WM_SIZE
(all other cases), WM_SETFOCUS
, WM_EXITSIZEMOVE
, WM_ACTIVATEAPP
with wParam
set to true, and WM_EXITMENULOOP
WM_KILLFOCUS
is adequate to solve the problem for ALT-CTRL-DELETE-ing out of the application.