Link to home
Start Free TrialLog in
Avatar of jessicasmith
jessicasmith

asked on

1 line of code/500 points: Makeing form bigger than screen resolution

Hi ppl! All I need is a big form, like 3000x2000 pixel.

I don't care if therefore the desktop has to be changed to a virtual size (e.g. when you have two screens connected to your gfx card and one has a bigger resolution than the other one, the smaller screen will be scrolled whenever the mousecursor touches one of the screen eges - that would be just fine for me, except that I don't have/want two screens hooked up - just one)

Solution 2: Just resize the damn window. Calling SetWindowPos wont help. The window won't go beyond the size of the actual resolution. Please help!!


Cheers,
Jessi



BTW:
This does NOT work: https://www.experts-exchange.com/questions/20413260/Make-window-bigger-than-screen.html
At least not on Windows XP.

Keywords: Resize Resizing Res Window larger bigger above beyond
Avatar of pcsentinel
pcsentinel

Why cant you just place all your controls onto a scrollable form?
a solution in kind may be that if you stick a panel onto the form & resize that, it will then stretch the form beyond the resolution.  Note that the panel should not be aligned to client or set to auto resize or this will not work.  (This will work at design time or runtime)
ASKER CERTIFIED SOLUTION
Avatar of sas13
sas13
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jessicasmith

ASKER

bingo! :D