Autor Beitrag
yogo
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 121

Windowse, Linuxe
Delphi 3 Prof., D5 Enterprise, D6 Enterprise, Kylix, Delphi 2010
BeitragVerfasst: Sa 23.04.05 14:05 
Ich moechte fuer ein Online-Game ein Chatprogramm schreiben. Der Name des Fensters ist mir bekannt. Danke schon mal im Vorraus!
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 23.04.05 14:19 
user profile iconyogo hat folgendes geschrieben:
Danke schon mal im Vorraus!
Bitte, gern geschehen. Aber was war nochmal deine Frage? :wink: :roll:

_________________
We are, we were and will not be.
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Sa 23.04.05 14:19 
Und dein Problem dabei ist, dass ...

// Gausi: War wohl etwas zu langsam ;)
yogo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 121

Windowse, Linuxe
Delphi 3 Prof., D5 Enterprise, D6 Enterprise, Kylix, Delphi 2010
BeitragVerfasst: Sa 23.04.05 15:14 
:oops: Ups volkommen vergessen: Ich möchte in diesen Client wechseln. bisher habe ich immer nur
ausblenden Delphi-Quelltext
1:
2:
3:
4:
keybd_event(vk_menu, 0, 0, 0);
keybd_event(vk_tab, 0, 0, 0);
keybd_event(vk_tab, 0, keyeventf_keyup, 0);
keybd_event(vk_menu, 0, keyeventf_keyup, 0);

benutzt. Das funktioniert aber nicht immer. :oops:
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Sa 23.04.05 23:25 
Ne das geht etwas anders. Du musst das Handle des anderen Fensters rauskriegen, danach kannst du per Windows API Befehl SetForegroundWindow zum anderen Fenster wechseln.
yogo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 121

Windowse, Linuxe
Delphi 3 Prof., D5 Enterprise, D6 Enterprise, Kylix, Delphi 2010
BeitragVerfasst: So 24.04.05 13:30 
ähh... :oops: Wie geht das! :lol:

setforeground geht unter d3 nicht! :cry: