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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
bingo! :D