Ascii code druck knopf / Ascii code print button

Posted By: Progger

Ascii code druck knopf / Ascii code print button - 08/24/11 07:50

Guten Morgen Leute laugh
Ich habe da mal ne Frage wieso hat die Druck taste keinen ascii code?Im Manual steht das es die 55 wäre schaue ich allerdings key_lastpressed nach kommt nichts??????
Ich will das benutzen damit man halt keine Screenshots mahcen kann.
Good Morning people laugh

Hat jemand ne Idee wie man das machen kann?

I Have a question.Why has the print key no ascii code?In the manual you can see that this should be number 555.But when I use key_lastpressed nothing appears??????
I want to use it to avoid making screenshots.

Does anyone have an idea how to reach that?

Thank you for reading this laugh
With friendly greetings Progger laugh
Posted By: Lukas

Re: Ascii code druck knopf / Ascii code print button - 08/24/11 16:25

Include die windows.h, dann kannst du die Druck-Taste damit abfragen:

GetAsyncKeyState (VK_SNAPSHOT)

http://msdn.microsoft.com/en-us/library/ms646293%28v=vs.85%29.aspx
© 2024 lite-C Forums