|
-
July 3rd, 2011, 05:48 PM
#5
Re: Calling non-static functions from WndProc()
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|