Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.196 Beiträge
 
Delphi 12 Athens
 
#5

AW: Sonderzeichen an die Tastatur senden?

  Alt 10. Sep 2012, 11:00
Zitat:
Wenn ich statt VK_MENU die Konstante VK_PACKET verwende, werden die Zeichen "0174" literal ausgegeben
Ich hab nichts von stattdessen gesagt.

Aber im MSDN steht ja, was bei diesem Code zu beachten ist.
Zitat:
Used to pass Unicode characters as if they were keystrokes. If VK_PACKET is used with SendInput, then the Unicode character to be delivered should be placed into the lower 16 bits of the scan code. If a keyboard message is removed from the message queue and the virtual key is VK_PACKET, then the Unicode character will be the upper 16 bits of the lparam.
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat