I was just wondering how you guys go about deriving a new class from your own CWindow and how you would set it to use the WndProc from the derived class. I made it so that CWindow, the base class, takes a WNDPROC param, but it also has a default value of null then the base constructor assigns either the user specified param or the default WndProc. But when i call the derived class's constructor and pass &this->WndProc it gives me this warning:
C:\My Documents\Projects\CBWindow\CAppWindow.cpp(4) : warning C4355: 'this' : used in base member initializer list
Everything works and all but i was wondering if thats bad? I know if it was a variable or something it would be, but im just passing the address of a function, is that ok?