Thanks for your help. This would mean that I would have to create my class from scratch again, which means resetting all variables to their original values in the constructor. All the variable values would be lost so I couldn't continually update variables, when a key is pressed for example. Also, it seems very inefficient to create a new class on every user input. I need to be able to call functions and access variables from the same object instance that called WndProc() .....

Thanks!