Hi Herman,
Your suggestion had a very interesting effect on the target window:
It allowed the window to be resized beyond the desktop size, but as soon as I touched it with the mouse in order to move it around and see if it indeed was that big, the Operating System changed its size back to 1024x768(-taskbarHeight).
Thanks!
Alex
>Hi Alex
>Intercept messages (VFP ways) is not easy or imposible without a wrapper.
>However, if the application you are trying to resize doesn't calculate the size by itself (such as calculator), you can try to send SWP_NOSENDCHANGING to tell the OS to not sending WM_WINDOWPOSCHANGING.
>
>Try this:
>
>#Define SWP_NOSENDCHANGING 0x400
>SetWindowPos( hWnd, 0, -50,-50, SysMetric(1)+100,SysMetric(2)+100, SWP_NOSENDCHANGING )
>
>Hope it works
Low-carb diet not working? Try the Low-food diet instead!