Lucas Fialho Zawacki lfzawacki@gmail.com writes:
@@ -377,6 +377,12 @@ static INT_PTR CALLBACK ConfigureDevicesDlgProc(HWND dialog, UINT uMsg, WPARAM w break; }
case WM_ACTIVATE:
/* Prevent mouse cursor from disappearing inside the dialog */
ShowCursor(1);
break;
That will screw up the cursor show count, you can receive multiple WM_ACTIVATE.
Is there a way of doing what I want? Would using GetCursorInfo() to discover if it's hidden, and then show it, work?
2011/9/13 Alexandre Julliard julliard@winehq.org:
Lucas Fialho Zawacki lfzawacki@gmail.com writes:
@@ -377,6 +377,12 @@ static INT_PTR CALLBACK ConfigureDevicesDlgProc(HWND dialog, UINT uMsg, WPARAM w break; }
- case WM_ACTIVATE:
- /* Prevent mouse cursor from disappearing inside the dialog */
- ShowCursor(1);
- break;
That will screw up the cursor show count, you can receive multiple WM_ACTIVATE.
-- Alexandre Julliard julliard@winehq.org