BUG: ClipCursor() Restricts Mouse Movement in DebuggerLast reviewed: July 22, 1997Article ID: Q116182 |
4.00 4.01 4.10 1.00 1.50 1.50.01
WINDOWS
kbtool kbcode kbbuglist
The information in this article applies to:
SYMPTOMSCalling the ClipCursor() function restricts mouse movement in CodeView for Windows, the Visual C++ integrated debugger, and the application being debugged. The problem also occurs when you use CodeView for Windows in dual- monitor mode.
RESOLUTIONTo work around the problem, enter commands using the keyboard when mouse movement is restricted.
STATUSMicrosoft has confirmed this to be a bug in CodeView for Windows and the Visual C++ debugger. We are researching this problem and will post new information in the Microsoft Knowledge Base as soon as it becomes available.
MORE INFORMATIONTo reproduce this problem, use the following steps:
Sample Code
long CALLBACK __export MainWndProc(/* ... */) { RECT rect; /* add this line */ switch (message) { case WM_COMMAND: if (wParam == IDM_ABOUT) { DialogBox(/* ... */); GetWindowRect(hWnd, &rect); /* add this line */ ClipCursor(&rect); /* add this line */ break; } |
Additional reference words: 4.00 4.01 4.10 1.00 1.50 1.50.01
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |