Einzelnen Beitrag anzeigen

Hybrid666

Registriert seit: 15. Jul 2006
Ort: Erster Stock
250 Beiträge
 
Delphi 7 Personal
 
#6

Re: taste abfragen ohne onkeypress etc und label sichtbar ma

  Alt 13. Mai 2009, 22:18
soweit ich weiß musst du bei der Abfrage mit GetAsyncKeyState <> 0 machen. Das kann mal so mal so sein. ich versteh das result von dem teil auch nicht so ganz...probiers mal.

MfG

edit:

hab hier was gefunden:
Delphi-Quellcode:
  // Aus der WinAPI-Doku zu GetAsyncKeyState:
  // if the function succeeds, the return value specifies whether the key was pressed
  // since the last call to GetAsyncKeyState, and whether the key is currently up or down.
  // If the most significant bit is set, the key is down, and if the least significant bit is set,
  // the key was pressed after the previous call to GetAsyncKeyState.
  // The return value is zero if a window in another thread or process currently has the keyboard focus
MfG again
  Mit Zitat antworten Zitat