I'm trying to define a class member function as static. When the class is defined in the .h and the implementation is in the .cpp. I keep getting the following error:
"...error C2724: 'WndProc' : 'static' should not be used on member functions defined at file scope"

Why ?

When writing the implementation in the class, the error does not occur.

Again, why ?


TIA, Ronen.