Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test if CTRL+ plus key is pressed in an editbox
Message
From
19/11/2004 06:07:59
 
 
To
19/11/2004 06:02:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00962920
Message ID:
00962924
Views:
11
In fact it's written in the doc :
"The KeyPress event does not occur for any combination of keys with the ALT key."

I really need the keypress event to be fired with CTRL+ "+".
Does somebody knows why such a limitation ?
Thanks


>Thanks for your answer Borislav.
>It's strange because when I use WAIT WINDOW INKEY(0), the Alt+"+" is recognised but if I try it in a editbox, the keypress event is not fired...
>
>
>>Unfortunately, there is no method where You can trap the CTRL+"+", KeyPress will not fired. I just tried in Command Window WAIT WINDOW INKEY(0) & nothing happens when I press CTRL+"+", But You can Use Alt+"+". I don't know why.
>>
>>>Hello,
>>>
>>>In the keypress event of an editbox, I try to intercept the CTRL+ plus key in order to make a special action but I didn't succeed.
>>>I try with the GETKEYSTATE() API, but the association of CTRL and "+" is not recognised.
>>>Any idea ?
>>>
>>>Thanks !
>>>Steph
Previous
Reply
Map
View

Click here to load this message in the networking platform