Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting click
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01056882
Message ID:
01056899
Vues:
11
In VFP9 you may use BINDEVENT to link mouse events, like WM_LBUTTONDOWN, sent to _screen.HWND to a method of your modal form.

* * *
For lower VFP versions, I woud try Windows API function SetWindowsHookEx. It could do the trick. BUT because of VFP does not support callback functions, this solutions -- AFAIK -- requires participation of an external module: FLL, DLL or ActiveX.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/setwindowshookex.asp

see WH_MOUSE, MouseProc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform