Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MouseMove and ActiveX
Message
De
27/05/1998 03:13:27
 
 
À
26/05/1998 15:37:18
Jean Gagné
Bergeron & Trudel Inc.
St-Albert, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00102062
Message ID:
00102265
Vues:
26
>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.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform