Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-monitor and my VFP5 app
Message
From
04/06/1999 11:01:57
 
 
To
04/06/1999 10:10:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00226462
Message ID:
00226527
Views:
19
>>>I have a VFP5 app and am trying to use the multi-monitor capability in Win98. When I slide my program to the secondary monitor, the mouse does not work on the menu or any objects on the form. The mouse does work on the title bar (to max, min, and close), however. Also, keyboard shortcuts behave properly. Any suggestions would be greatly appreciated.
>>>
>>
>>This is an issue with VFP5; it doesn't know how to resolve the mouse location on secondary or tertiary monitors in the multi-monitor environment, so VFP-controlled form objects don't work as expected via the mouse. The standard windows control boxes are handled outside of VFP itself, so they work, and the keyboard commands don't rely on the cursor coordinate system, so they work as well.
>>
>>I don't know if this was resolved in VFP6.
>>
>>>thanx, David
>
>
>It works in VPF 6.0

Thanks. Is there a method to determine which monitor the current VFP window is on, or do I need to grab the Win32 hWnd for the active window and use the API to figure it out? Also, if ypou happen to know, what do the mouse coordinate functions in VFP return when the cursor is on a secondary monitor?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform