Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object only visible while F-key held down
Message
From
12/06/2002 18:27:50
 
 
To
12/06/2002 14:37:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00667279
Message ID:
00667697
Views:
22
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.]
Previous
Reply
Map
View

Click here to load this message in the networking platform