>How can I force a VFP session that doesn't have the focus in windows, to foreground ?
Pascal,
AFAIK you can't. You can however try to bring to foreground. Rather than directly coming to foreground title in taskbar flashes to draw attention.
set library to home()+'foxtools.fll'
declare short SetForegroundWindow in Win32API integer HWND
SetForegroundWindow(MainHwnd())
Cetin