Autor Beitrag
SuperDaniel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Sa 28.04.07 16:43 
ist es möglich mehrere Tasten mit PostMessage zu senden


so klappt es nicht

postMessage(wnd, WM_KEYDOWN, $11, 0);
postMessage(wnd, WM_KEYDOWN, $4F, 0);
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Sa 28.04.07 18:33 
Wenn Du eine Taste drückst, lässt Du sie i.A. auch wieder los. :wink:

_________________
Na denn, dann. Bis dann, denn.
SuperDaniel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Sa 28.04.07 19:33 
i.A. was heißt das den, sorry aber ich weiß grad nicht was du meinst
Dunkel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 682

Mac OS X Snow Leopard
Xcode 3.1
BeitragVerfasst: Sa 28.04.07 20:23 
user profile iconSuperDaniel hat folgendes geschrieben:
i.A. was heißt das den, sorry aber ich weiß grad nicht was du meinst

i.A. ist nicht nur der Laut, den Esel i.d.R. ( :wink: ) von sich geben, sondern auch die Abkürzung für "im Allgemeinen".

Was alzaimar damit sagen wollte: Du solltest für jedes WM_KEYDOWN auch ein WM_KEYUP senden.

_________________
Ich streite einsam mich mit dieser Oberflächenwelt
Gutes sei ein löblich Brot von dem ich zehre - bis zum Tod [Das Ich - Im Ich]
SuperDaniel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: So 29.04.07 02:20 
das mit keyup hatte ich schon getestet, geht aber nicht, es kommt immer nur das o an
ssb-blume
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: So 29.04.07 11:29 
Hallo!

Die $11 ist ja VK_CONTROL, d.h. die STRG-Taste.

Deshalb muß die Reihenfolge lauten:
keydown $11,
keydown $4F

keyup $4f
keyup $11

in Keypress kommt dann das richtige Zeichen ^O

_________________
Brain: an apparatus with which we think we think.
SuperDaniel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: So 29.04.07 23:43 
danke, geht aber nicht