Einzelnen Beitrag anzeigen

mojo777

Registriert seit: 10. Sep 2003
402 Beiträge
 
#3

Re: Fokus bei der anwendung bewahren...!

  Alt 1. Okt 2005, 12:55
das ist klar... das mache ich auch.. aber WIE lenke ich den fokus auf die anwendung???
habe schon folgendes ausprobiert:
Delphi-Quellcode:
var Wnd: HWnd;
begin
fmMain.SetFocus;
Wnd := GetWindow(Application.Handle, gw_HWndFirst);
BringWindowToTop(Wnd);
SetForegroundWindow(Wnd);
Muh macht die kUh
  Mit Zitat antworten Zitat