Michael Drechsel
Focus Gain Main Window July 13, 2008 05:47PM |
KenKnight
Re: Focus Gain Main Window July 13, 2008 07:21PM |
Michael Drechsel
Re: Focus Gain Main Window July 13, 2008 07:38PM |
MerijnW
Re: Focus Gain Main Window July 13, 2008 10:08PM |
TimerSys(GetCurWinName,100) PROCEDURE GetCurWinName() iHWndCurr is int iNameStr is int iNameLen is int = 255 sWinName is string iHWndCurr = API("USER32","GetForegroundWindow") sWinName=Complete(sWinName,iNameLen) FunctionResult is int = API("USER32","GetWindowTextA", iHWndCurr, sWinName, iNameLen) IF FunctionResult > 0 THEN Trace(sWinName) END
Michael Drechsel
Re: Focus Gain Main Window July 14, 2008 04:03PM |