I ask because I'm getting different behavior depending on whether I exit with alt+f4 or by looking for a WM_KEYDOWN message on an escape press: I'm writing a Direct Draw app and if I exit with alt+f4 ...