>If the window is the foremost, _WOnTop() (in Foxtools) will return the whandle. If you need the window handle use _WhTohWnd() passing in the whandle.
Tx, George. Indeed _WhToHwnd(_WOnTop()) does the trick, but it requires to activate the window before calling my FLL function. I was hoping to be able to pass it as an argument from my FoxPro application...
--Noel