English
Forum

GetSystemKey ()

 
Hello!

The following example resolve by me Weird from:

---------------------------------------------
WhileNot (%scankey = 27)
WaitInput
print GetSystemKey()
EndWhile
---------------------------------------------

there the Result of GetSystemKey() the ASCII-code the squeezed Button is, question I, How I it into Ansi-code transfiguring should, there @OemToAnsi$(s) not correctly. working, there OemToAnsi$(Chr$(GetSystemKey ())) not functions can.

Thank you.
 
04/24/04  
 



Hello David,

it'll 0 back given...
but probier the time...

x&=GetSystemKey()
Print Str$(x&)

...instead of...

print GetSystemKey()

now funktionierts !
shining one Profan-bow with the Typenumwandlung To his, or ?

Greeting, Frank
 
04/24/04  
 



thanks Frank, working super!

one would yet: Why having Strg, old, old Gr any the value 17?
%ScanKey gives with old Gr 18 from.
 
04/24/04  
 



Hi,

the lying well on it, the The function whom status all 256 Tastencodes checks. once of/ one found watts, kehrt The function to profane back. and there 17 of 18 comes, becomes The function with VK_MENU instead of VK_CONTROL exits, what means, that you a the Alttasten together with Strg pressed have.
The ProSpeed guide is on this place too wrong, back won't the ASCII code given, separate the virtual Keycode, sorry. i'll the Change.

Profans %scankey is the Ergebniss of/ one keyboard Message and sustain therefore genauere values, operates for but only, if the window whom Focus own...

Greeting, Frank
 
04/24/04  
 



thanks for Erläuterungen!

mfg.
David Scherr
 
04/24/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.692 Views

Untitledvor 0 min.
Andreas Koch04/12/12

Themeninformationen

this Topic has 1 subscriber:

unbekannt (5x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie