FIX: Mouse Input Ignored When Display Modal Form in Spin EventLast reviewed: October 30, 1997Article ID: Q113681 |
3.00
WINDOWS
kbprg kbbuglist
The information in this article applies to: - Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0
SYMPTOMSWhile displaying a modal form in the SpinDown() or SpinUp() event of the SPIN.VBX custom control, your computer ignores all mouse actions along with any system key requests such as CTRL+ESC and ALT+TAB. However, normal keyboard input is unaffected. In other words, you can still press TAB to move between controls, press the ENTER key on a command button, and enter text in a text box.
WORKAROUNDWhen running in the Visual Basic environment, you can press CTRL+BREAK to get mouse control and system keyboard input back. To work around this bug, enable a timer in the SpinDown() or SpinUp() event, and display your modal form in the Timer() event.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0.
MORE INFORMATIONIt is important to note that a MsgBox statement, which is application modal, operates correctly. The problem only appears when displaying a modal form.
Steps to Reproduce Problem
|
Additional reference words: buglist2.00 buglist3.00 2.00 3.00 fixlist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |