Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MouseMove and ActiveX
Message
From
27/05/1998 03:13:27
 
 
To
26/05/1998 15:37:18
Jean Gagné
Bergeron & Trudel Inc.
St-Albert, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00102062
Message ID:
00102265
Views:
25
>When I have a form that contains an ActiveX control, if the mouse is moved over that control, the nXCoord parameter of the MouseMove event contains the horizontal position of the mouse relative to the screen instead of the form. Otherwise the position is relative to the form like it is suppose to. Is there a way around this problem ?
>
>Thanx

No solution. You just must to know it and calculate it. Thanks for who gaves me the solution in the past. For sample i have this code as starter in the dragover event of an treeview control that is within a container:

LPARAMETERS oSource, m.x, m.Y

posx = 15*(m.X - this.Left - this.parent.left)
posy = 15*(m.Y - this.Top - this.parent.top)
Saludos,
A.G.P.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform