   Multiple instances of a program excepting the same input [solved]
  Im not sure whats causing this... but if I run two instances of my program even when the program is not the focus it still receives input from WM_KEYDOWN and WM_CHAR messages... I have not really experienced this before, any thoughts on what could cause this?Im creating my window with these stylesCS_OWNDC | CS_HREDRAW | CS_VREDRAW | CS_DBLCLKSI wrapped my windows interface in a class.... I was thinking I could just make some flag when I lose focus... but I have never really experienced this before :(any thoughts would be appreciated[Edited by - yewbie on June 4, 2009 12:22:09 AM]
  Oh.. I should mention that im using a GetAsyncKeyState macro, and now that I think of it... its just getting the keystate and that is not window focus specific... I think I will just have to go with my focus flag =p   