Autor Beitrag
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Mo 05.06.06 09:40 
Hallo,
Mein Problem:
Ich hab eine Bildschirm tastatur entworfen (nur so als Übung) sie ist zwar nicht
QWERTZ aber Alphabetisch :-) wenn ich das im Vordergrund habe kann ich ja nicht, z.B. im Notepad schreiben, ich hab mal das drücken einer Taste mit dem timersimuliert, das funktioniert. Wie krieg ich mein Programm visuell in den vordergrund und wie bleibt der Focus dennoch z.B. im Notepad?

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Green
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 283

Windows XP Home
Delphi 6 Enterprise
BeitragVerfasst: Mo 05.06.06 09:59 
naja, du kannst ja jedesmal wenn du klickst den fokus wieder auf das zuvor gewählte irgendwas instellen und dann erst das drücken der taste simulieren
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Mo 05.06.06 11:27 
und wie geht das?
Die idee ist ja schon gut, aber ich hab ja keine Ahnung, was der User als letztes angeschaut hat!?!
Wie geht es denn generell, das ein Programm halb im vordergrund bleibt, z.B. Krokos-Systemdingsga (is übrigens sehrgut) das beleibt ja "minimiert" immer rechts in der Zeile, auch wenn ich dabei was anderes mache, wie surfen ...

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Green
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 283

Windows XP Home
Delphi 6 Enterprise
BeitragVerfasst: Mo 05.06.06 20:55 
nunja, damit kenn ich mich nun wieder nich aus, aber du kannst ja das programm in einem Intervall abfragen lassen wo der fokus liegt und dann wenn jemand ne taste drückt ihn auf den zuletzt gespeicherten Wert setzen
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 05.06.06 21:32 
ausblenden Delphi-Quelltext
1:
Form1.FormStyle := fsStayOnTop;					


Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN