User Tag List

Results 1 to 5 of 5

Thread: App reverting back to wrong screensize

  1. #1
    No Products Registered

    Join Date
    Nov 2007
    Location
    Wales
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    App reverting back to wrong screensize

    Hi guys.
    It's been a little while.

    Has Hardware Acceleration passed Beta yet? lol

    Anyway, the real reason I'm making this post is that I have an app that calls another app via command-line, and waits for the secondary app to close before the main app continues.

    This all works fine, but there is a problem with the screen resolution.

    For instance, the Main app is set to run at 1024x768, and the secondary app is set to run at the same, and my desktop size is 1680x1050.

    What happens is when I run the main app, the resolution is changed to 1024x768 (good), and when a button is pressed, the secondary app is run, also at 1024x768 (good).
    But when I exit the secondary app, control goes back to my main app (good) but the main app is now running at 1680x1050, instead of going back to what it was when the command-line was originally called.

    Any ideas on this?

    Cheers,
    Krush.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: App reverting back to wrong screensize

    Ha, that makes perfect sense.

    What you will probably have to do is check for when the secondary app closes, and when it does, go to full screen.

  3. #3
    No Products Registered

    Join Date
    Nov 2007
    Location
    Wales
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: App reverting back to wrong screensize

    That's the trouble though.
    The app is full screen when it comes back, but it's now fullscreen at 1680x1050 rather than fullscreen at 1024x768.

    So the app is fullscreen when it comes back, as I would expect it to be, but the resolution hasn't been retained, and has defaulted to my desktop size.

    I'll have to try and change the resolution as it returns from the secondary app, but that seems a little clunky, and I did think that MMF2 would have kept the original resolution.

    I'll keep trying things to see how they work.

    Cheers.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: App reverting back to wrong screensize

    Fullscreen mode simply sets the resolution of your computer to the size of the app window. The reason it is the size of you desktop when the other app ends is that your secondary program ends the fullscreen. So simply reinforcing the fullscreen in your primary app should work.

  5. #5
    No Products Registered

    Join Date
    Nov 2007
    Location
    Wales
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: App reverting back to wrong screensize

    I can see the logic in what you're saying but the secondary app isn't mine (actually, it's MAME), so using another fullscreen command doesn't work.

    I wonder if there's a commandline for MAME that overrides the screen resolution it goes back to.

    Any suggestions from anyone more than welcome.


Similar Threads

  1. Back butten to Back stack
    By Froglegs0 in forum XNA Export Module Version 2.0
    Replies: 0
    Last Post: 28th September 2013, 05:33 PM
  2. Centering sub-app regardless of screensize.
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th January 2010, 04:39 PM
  3. Resize to screensize and scrolling?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2008, 08:00 AM
  4. Back To Back Samples (Nevermind, I figured it out)
    By Simion32 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th February 2007, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •