Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement