I am using the Win32 API 'SetWindowPos' in a VB application to make a window stay on top and it works fine (under windows 98). On a windows 2000 machine, I get the RT error 'Overflow'.

Does anybody know if you can use this API on Windows 2000 or is there an alternative?

Thanks,

Simon.