Lines Matching refs:wParam
29 static LRESULT CALLBACK WindowProcedure(HWND aHWND, UINT message, WPARAM wParam, LPARAM lParam)
41 return DefWindowProcW(aHWND, message, wParam, lParam);
44 return DefWindowProc(aHWND, message, wParam, lParam);
46 return window->OnMessage(message, wParam, lParam);
123 LRESULT CWindow2::DefProc(UINT message, WPARAM wParam, LPARAM lParam)
127 return DefWindowProcW(_window, message, wParam, lParam);
130 return DefWindowProc(_window, message, wParam, lParam);
133 LRESULT CWindow2::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
143 if (OnCommand(wParam, lParam, result))
147 if (OnNotify((UINT)wParam, (LPNMHDR) lParam, result))
157 if (OnSize(wParam, LOWORD(lParam), HIWORD(lParam)))
160 return DefProc(message, wParam, lParam);
163 bool CWindow2::OnCommand(WPARAM wParam, LPARAM lParam, LRESULT &result)
165 return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam, result);
171 // return DefProc(message, wParam, lParam);