Basic Windows Programming Question - Losing Focus
Hi, I''m working through the Game Programming All in One book and am currently playing around with what I''ve learned so far... However, I have stumbled on an issue where if my window is minimized or loses focus etc. I''m unable to reaquire the keyboard in DirectInput. Anyway, I skipped ahead to the end code sample and it appears that this isn''t handled anywhere in the book so I was wondering if anybody could tell me what the correct procedure for losing focus is in C++. Anyway, thanks in advance.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement