Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unpacking lParam of Windows WM_LBUTTONDOWN notification
Message
De
29/12/2005 15:04:38
 
 
À
29/12/2005 14:27:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01081770
Message ID:
01081797
Vues:
8
>Can anyone tell me how to unpack the lParam parameter value returned from the Windows WM_LBUTTONDOWN notification? I have an event handler bound to that event but cannot unpack the lParam to get the x,y cords of the mouse. Thanks in advance.
MOUSEDOWN_XCOORD = BITAND(m.lParam,0xFFFF)
MOUSEDOWN_YCOORD = BITAND(BITRSHIFT(m.lParam,16),0xFFFF)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform