Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I simluate real mouse click and keyin Out of VFP?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00386249
Message ID:
00387009
Vues:
34
>Thanks a lot, I got the thread# 386463
>
>Other than MoveMouse absolute positions, what is the CLICK, RIGHTCLICK with CTRL, SHIFT key is press or not?
>
>How to get more information about the SPECIAL after I know the API function!?
>Thanks!!

Terrence, the following is from Winuser.h which is fould in the include directory beneath VC98 in the MS Visual Studio
#define MOUSEEVENTF_MOVE        0x0001 /* mouse move */
#define MOUSEEVENTF_LEFTDOWN    0x0002 /* left button down */
#define MOUSEEVENTF_LEFTUP      0x0004 /* left button up */
#define MOUSEEVENTF_RIGHTDOWN   0x0008 /* right button down */
#define MOUSEEVENTF_RIGHTUP     0x0010 /* right button up */
#define MOUSEEVENTF_MIDDLEDOWN  0x0020 /* middle button down */
#define MOUSEEVENTF_MIDDLEUP    0x0040 /* middle button up */
#define MOUSEEVENTF_WHEEL       0x0800 /* wheel button rolled */
#define MOUSEEVENTF_ABSOLUTE    0x8000 /* absolute move */
The virtual keycodes (VK_) can also be found there.

I wrote an FAQ here at the UT, under Win32 and Other APIs that gives information on where to find out more on Win32.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform