check WM_LBUTTONDOWN on SetCursor too
This commit is contained in:
parent
db41c485de
commit
33914a0f76
1 changed files with 2 additions and 2 deletions
|
@ -76,12 +76,12 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||||
}
|
}
|
||||||
case WM_SETCURSOR:
|
case WM_SETCURSOR:
|
||||||
{
|
{
|
||||||
// show resize cursor on window borders
|
/* show resize cursor on window borders */
|
||||||
if ((HWND)wParam == g_ddraw->hwnd)
|
if ((HWND)wParam == g_ddraw->hwnd)
|
||||||
{
|
{
|
||||||
WORD message = HIWORD(lParam);
|
WORD message = HIWORD(lParam);
|
||||||
|
|
||||||
if (message == WM_MOUSEMOVE)
|
if (message == WM_MOUSEMOVE || message == WM_LBUTTONDOWN)
|
||||||
{
|
{
|
||||||
WORD htcode = LOWORD(lParam);
|
WORD htcode = LOWORD(lParam);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue