Member functions will work fine without a this pointer if they don't reference any member variables, sure. But you can also just add an assert() instead of the if-check if you like. I prefer not to try and keep the program running when it's obviously in a broken state.
Forward Windows messages to a derived class's virtual CallWindowProc() method
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement