Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object only visible while F-key held down
Message
De
12/06/2002 18:27:50
 
 
À
12/06/2002 14:37:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00667279
Message ID:
00667697
Vues:
20
Whoops! I made a little mistake. :) The code I gave would work fine in the scenario described, but a more universal example would use the BITAND() function to check a specific bit:

Timer.Timer
    IF BITAND(GetAsyncKeyState(0x10),0x8000) <> 0 ;	&& shift key pressed
        and BITAND(GetAsyncKeyState(0x11),0x8000) <> 0  && ctrl key pressed

        * If controls are hidden, make them visible here
    ELSE
        * If controls are visible, hide them here.
    ENDIF
[This posting is provided "AS IS" with no warranties, and confers no rights.]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform