Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deactivating the mouse
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535443
Message ID:
00535480
Vues:
16
This message has been marked as the solution to the initial question of the thread.
One way is to create a transparent shape that covers the entire form... while the shape is in front of everything else, it gets the mousemoves, and not the other controls.

If you are trying to disable the mouse for multiple windows, thats more difficult... I'm not sure, but try _SCREEN.ENABLE=.F. or _VFP.Enable=.F.
or explore creating a transparent window (which my guess is that it's not possible; I know its not possible natively through VFP, but maybe by creating a toplevel form, then geting the hWND windows handle to it, then calling the appropriate Win32API function to change it to transparent, then show it and place it exactly over the _Screen.

>Hello
>
>Is there any way to disable the mouse?
>What i need is to disable temporary the mousemove event...
>
>T.I.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform