For (2) you want to add a case for WM_KILLFOCUS into CGapiApplication::WindowProc. Look it up on MSDN to make sure you handle it properly; look carefully at the Remarks section - changing window states can deadlock the app.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum