Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ok Mousemove Event could be the answer but how does it w
Message
De
30/09/1997 11:37:40
Frank Shaw
Runestones Development Corporation
Ipswich, Massachusetts, États-Unis
 
 
À
30/09/1997 08:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00052280
Message ID:
00052429
Vues:
45
>Hi Frank!
>
>AFAIK, MouseMove Event fires continuously when you move the mouse cursor
>over an object (any), so, you will need the trigger in this code to avoid
>unnecessary code execution...
>
>
>>The mousemove event could be the answer I was fishing for but how does it
>
>>work but I still want a understanding of how to setup a API function in
>>foxpro the monitor of the window message like I use to do in visual
>basic,
>>Can this be done or not,


Yes the movemouse event with the use of the mousedown event is In fact the answer I was fishing for. The first event the mousemove event seams to fire the lostfocus on the active control. So now when the mousedown fires their is no control active. Now the mouse down event fires and I can test to make shure that nButton = 1 because the two buttons are setting in a command group control the first button is a 1 and the second button in a two. When the mousedown event fires the code calls another button which located in the click event of that button is the code activate a child form. and then we return to the first button after the child form is displayed and the rest of the code in the mousedown event will happen If any and we return to the READ EVENT. It works fine that way. Thanks


Frank H. Shaw
fshaw@runestones.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform