I am trying to register:
and using it here:Code:UINT WM_USER_MOUSEMOVE = RegisterWindowMessage("uSer-mOuSeMoVe-mOuSeHoOk");
and get error:Code:LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) /* handle the messages */ { case WM_USER_MOUSEMOVE: {
when multiple examples say to use it like this. Any ideas? thanks.Code:error: `WM_USER_MOUSEMOVE' cannot appear in a constant-expression|




Reply With Quote