Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TedMar, AndrewAMD), 1,067 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Ascii code druck knopf / Ascii code print button #381088
08/24/11 07:50
08/24/11 07:50
Joined: Sep 2009
Posts: 496
P
Progger Offline OP
Senior Member
Progger  Offline OP
Senior Member
P

Joined: Sep 2009
Posts: 496
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


asking is the best Way to get help laugh laugh laugh
Re: Ascii code druck knopf / Ascii code print button [Re: Progger] #381148
08/24/11 16:25
08/24/11 16:25
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
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


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1