Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Screen resoultion change with plugin.  (Read 2053 times)

0 Members and 1 Guest are viewing this topic.

pb_sask

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:July 13, 2011, 10:59:40 am
Screen resoultion change with plugin.
« on: July 10, 2011, 08:30:59 am »
I modified the plugin example to display the marquee and game text on a second display, this works great in mala but then as soon as you launch a game the screen resolution on monitor 1 changes, pushing or pulling the second monitors display. 

At the moment MaLaStart instantiates my form and maximises it to the second screens resolution then makes a Timage control the full width of the screen and half the height. Then MaLaGameSelected just using LoadFile to load the png from the current emulators Marquee path + romname + '.png'.  As soon as the screen resolution changes the form gets pulled left or right making the display look a bit crappy.... Other than using a timer to refresh the form placement is there another way I can stop the form moving with the resoultion switch?