>>Just tried this and working :
>>
>>
declare integer GetDesktopWindow in user32.dll
>>hWnd = GetDesktopWindow()
>>? hWnd
Cetin
>
>Just got it, too. Many thanks, Cetin, I still had the cap 'T' declaration stuck in memory :)
Hi Bruce,
How'd I miss this one< g >? Seriously, you don't need user32. It's among the dlls search by indicating Win32api in the declaration.
George
Ubi caritas et amor, deus ibi est