The information in this article applies to:
SYMPTOMSWhen running Visual FoxPro versions 3.x and 5.x in Windows 95 or Windows 98, the ISMOUSE() function always returns .T. regardless of the presence of the mouse. However, the ISMOUSE() function works as expected in Windows NT. CAUSEVisual FoxPro is using the GetSystemMetrics API function to check SM_MOUSEPRESENT to determine if a mouse is present or not. If GetSystemMetrics returns zero (false), you would expect ISMOUSE() to return .F.. However, in Windows 95 or Windows 98, the GetSystemMetrics API always returns .T. regardless of the presence of the mouse. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
If you repeat these steps in Windows NT, you receive a .T. for the first scenario and a .F. for the second scenario. Additional query words: kbOOP kbvfp600
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |