H happycyp Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-05 #2 var h : HWND ; begin h := GetForegroundWindow; Showmessage(IntTostr(h)); end;
S smallpig8191981 Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-05 #3 同二楼 但showmessage是否有点问题??
C COODOR Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-05 #4 拜托,h := GetForegroundWindow; ShowMessage你可以不用