LRESULT Window::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { switch(message) { case WM_MOUSELEAVE: //.. break; //.. } }