Patrick,
>But there still is a problem, i never call any API before
>Can u give me a sample of how to call the Win32 API SetWindowPos()?
Click the link to the
W i k i in my sig, there's several examples for using API functions. This topic
http://fox.wikis.com/wc.dll?Wiki~VFPHelp~VFP specifically shows how to use SetWindowPos.