I mean
WndProc_OnCommand(HWND hWnd, int id, HWND hwndCtl, UINT codeNotify)
can be rewrited like this
WndProc_OnCommand(hWnd, (int)LOWORD(wParam),(HWND)(lParam),(UINT)HIWORD(wParam));
But how to rewrite
WndProc_OnSize(HWND hWnd, UINT state, int cx, int cy)
what will be here lparam,wparam?
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632646(v=vs.85).aspx
wParam is state, while LOWORD(lParam) is cx, HIWORD lParam is cy.