Alex,
Look at the code I put in this Wiki article.
http://fox.wikis.com/wc.dll?Wiki~VFPHelpIgnore the topmost stuff, but you should be able to change the window position/size with the same API call.
>Apparently, when a window is resized, it sends a message to the OS and the OS sends back the maximum size the window can have.
>
>It can be handled in C, accessing the MFC directly, but I'm still hoping for an API miracle.