Autor Beitrag
Flash106
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 234


D7 Ent
BeitragVerfasst: Sa 19.03.05 17:30 
Hallo,

wie ermittle ich den code den die Fn Taste eines Notebooks sendet?? Und wie die der sonder tasten?? wie z.b. Fn + Taste für helligkeit raus oder runter.. und wie schicke ich diese tasten combos dann per source an windows??
wäre toll wenn mir jemand helfen könnte!!!!


DANKE!!!
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: Sa 19.03.05 17:34 
Mach einfach eine ShowMessage()-Funktion in ein OnKeyPress-Ereignis und lass dir alles Anzeigen, was dich interessiert.
Flash106 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 234


D7 Ent
BeitragVerfasst: Sa 19.03.05 17:37 
das ist es ja.. das kommt nix zurück... hab in showmessage ord(key) gemacht bei onkeypress aber bei Fn und Co regt sich nichts :(
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: Sa 19.03.05 17:41 
Dann nimm OnKeyDown oder OnKeyUp.
Flash106 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 234


D7 Ent
BeitragVerfasst: Sa 19.03.05 17:45 
hm ok Fn regt sich immer noch nicht aber kenne ungefähr die zahlen region wo ich hin will... wie schicke ich den key code an windows?? irgendwas mti sendmessage oder sendkey??? wäre toll wenn du das wüsstest wdbee :)
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: Sa 19.03.05 17:53 
Das könnte mit einer WM_CHAR-Message gehen. Beschreibung: In Delphi in der Hilfe zum Windows-SDK
oder mal mit Delphi und SendKey googeln.
Flash106 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 234


D7 Ent
BeitragVerfasst: Sa 19.03.05 17:56 
bevor ich mir die haare ausraufe.... kann man überhaupt tastenkombos an windowsschicken die sowas helligkeit rauf oder runter bewirken auf einem notebook??? oder laustärke aus ... oder sowas...?
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: Sa 19.03.05 18:01 
Sorry, aber das kann ich dir nicht sagen. Da verwendest du sicher Umschalttasten, die nicht im normalen Tastaturlayout zu finden sind. Keine Anhnung, wann die ausgefiltert und an die Hardware weitergeleitet werden!
Flash106 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 234


D7 Ent
BeitragVerfasst: Sa 19.03.05 18:03 
nagut ok.. dann lass ichs.. trotzdem danke
NeoInDerMATRIX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 245

Win95, Win98(+se), WinNT, Win2000, WinME, WinXP(+pro), VISTA, Linux(SuSe), DOS [MultiMon(3)], Vista
D6 PeE + (FP 2.0l) + D3 Pe + D2005+ D2006 Arch
BeitragVerfasst: So 20.03.05 17:26 
Hi,

also die FN-Taste eines Notebocks abzufange wird schwierig, da diese entweder direckt von der Hardware, vom Treiber oder vom Bios bearbeitet werden. Das senden der Tasten Kombos an Windows kannst du umgehen in dem du einfach den HotKey abfängst und selbst entsprechend reagierst. Ansonsten must du nur wissen auf welche Hotkey Windows reagiert und diese an den Explorer schicken. Soweit ich mich entsinne. Korigiert mich wenn ich dabei falsch liege. Wie das geht ist in diesem Board ausreichend dokumentiert. (Man nutze die Board suche)

Cu
Neo

P.S.: Finde es lustig das man so schnell aufgeben kann seine Ziele zu verwirklichen.