If I set a low level mouse hook, WH_MOUSE_LL
,
when I click the [x] (Close) button the window delays ~500ms and then it disappears.
Do you know what causes the delay? And, is there a way to fix it?
(the window and the hook are created with direct calls to win32 api in C++)