Build Your Own Arcade Controls Forum
May 17, 2012, 12:59:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:

Anytime you buy anything from Amazon.com starting with one of these links, you support this site - thanks!

GameEx and XGaming team up to give a discount on X-Arcade gear!

 
   Home   Help Arcade Search Login Register  

 
Main Woodworking Reviews Software Monitor/Video
Audio/Jukebox/MP3 Project Announcements Artwork Consoles Buy/Sell/Trade
Arcade Miscellaneous Everything Else Politics n Religion Forum Discussion Wiki Discussion
DOS/WinCab PowerMAME SK Jukebox Mrotate Project Arcade
Linux Restorations Pinball MaLa Frontend controls.dat
Maximus Arcade Meet Up GroovyMAME Old Boards Old Archives
 
Unread posts | New Replies | Recent posts | Arcade | Rules | Chatroom | Wiki | File Repository | RSS


Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: How do you resize a window larger than desktop ??  (Read 1818 times)
0 Members and 1 Guest are viewing this topic.
Skeleton
Trade Count: (0)
Full Member
***
Offline Offline

Posts: 25



WWW
« on: May 30, 2002, 04:48:14 AM »

Here is my question: How do you resize a window larger than the desktop?  

I would like to do this because I like the smoothing effect that my video card gives to emulators when running in a window. When running a low res game such as a NES game full screen it looks extremely blocky on a large SVGA monitor, but if I run it in a window and resize it to full screen, it looks great.  The only problem is that I cannot resize the window beyond the size of the desktop (it won't allow it) so I see the window border and menu bar. If I could resize it to slightly larger than the screen, the window borders and menu bar would be off screen and not visible.

I've tried resizing the window with AutoIt and VB API calls, but I haven't met with any success.  The OS doesn't seem to allow the window to be resized to anything larger than the desktop resolution. It would be great if it were simply just a registry hack to allow this.

Please help.
« Last Edit: December 31, 1969, 07:00:00 PM by 1026619200 » Logged
Skeleton
Trade Count: (0)
Full Member
***
Offline Offline

Posts: 25



WWW
« Reply #1 on: May 30, 2002, 05:48:40 AM »

UPDATE:
I have tried hooking into the Gens emulator window and changing the max size using WM_GETMINMAXINFO, but this didn't seem to work (see knowledge base article Q185733) . I can hook into a VB form and control its maximum size this way, but it doesn't work for the emulator window. I can manipulate the emulator window in other ways (moving it, resizing it, though not larger than the screen resolution )using API calls, so I know I have the correct window handle, but I can't seem affect its maximum size this way.

Argh! Searching the web and newsgroups hasn't turned up any solutions.
« Last Edit: December 31, 1969, 07:00:00 PM by 1026619200 » Logged
enemyace
Trade Count: (0)
Full Member
***
Offline Offline

Posts: 114


You repo men, you're all out to @!$#in' lunch!


« Reply #2 on: May 30, 2002, 12:12:23 PM »

Ask Howard, he probably knows...
« Last Edit: December 31, 1969, 07:00:00 PM by 1026619200 » Logged
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
***
Offline Offline

Posts: 8479


Your Post's Soul is MINE!!! .......Again??


WWW
« Reply #3 on: May 30, 2002, 01:25:04 PM »

SETWINDOWSTATE is what you need and put the maximize switch on it, but I can almost guarantee you that it won't work either. This will stretch the contents of the window to full screen and remove the border.   Emulators set their own res for a reason, they use that res as a basis for rendering the graphics.  Usually when you try to tamper with this either you crash the emu or you get a really big window with a really little game running inside it.

Hope that helps.
« Last Edit: December 31, 1969, 07:00:00 PM by 1026619200 » Logged

Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.199 seconds with 17 queries.