Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-monitor and my VFP5 app
Message
From
04/06/1999 11:51:00
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00226462
Message ID:
00226552
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?


No functions to determine monitor. I don't know how to handle the mouse coordinates.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform