Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ok Mousemove Event could be the answer but how does it w
Message
From
30/09/1997 11:37:40
Frank Shaw
Runestones Development Corporation
Ipswich, Massachusetts, United States
 
 
To
30/09/1997 08:45:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00052280
Message ID:
00052429
Views:
38
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform