Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27199

VS 2010 Supress a keypress ?

$
0
0
Hello :)

In my project, i use the api GetAsyncKeystate and i proceed like that..

I want to detect a keypress with getasynckeystate

I searched and i find how to do that.

Now, my app detects the F1 key, but i don't want other apps detects that,

I press F1 => But the focused windows (Not MY app) show the help of the software.

I just want to detect the key, but without any other application detects it.

Example:

I press F1 => My app: He pressed F1, do some stuff => Focused window: He pressed F1, show the help.

I just want to delete that keypress. Thanks guys (Don't blame me, i'm french, sorry for bad english)

Viewing all articles
Browse latest Browse all 27199

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>