Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window larger than desktop
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00903943
Message ID:
00905136
Views:
26
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform