| 102 | } |
| 103 | |
| 104 | LRESULT Window::HandleMessage(UINT msg, WPARAM wParam, LPARAM lParam) |
| 105 | { |
| 106 | LogMessage(msg, wParam, lParam); |
| 107 | |
| 108 | switch (msg) |
| 109 | { |
| 110 | case WM_SETTEXT: |
| 111 | title = reinterpret_cast<wchar_t*>(lParam); |
| 112 | break; |
| 113 | } |
| 114 | |
| 115 | if (const auto result = CustomHandleMessage(msg, wParam, lParam)) |
| 116 | { |
| 117 | return *result; |
| 118 | } |
| 119 | return DefWindowProcW(hWnd, msg, wParam, lParam); |
| 120 | } |
| 121 | |
| 122 | void Window::SetMessageLogging(bool enable) |
| 123 | { |
no outgoing calls
no test coverage detected