Advertisement

Forward Windows messages to a derived class's virtual CallWindowProc() method

Started by July 18, 2017 03:56 AM
20 comments, last by Kylotan 7 years, 4 months ago

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.

This topic is closed to new replies.

Advertisement