User Tag List

Results 1 to 5 of 5

Thread: Resizing with the Window Control

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Location
    USA
    Posts
    2,970
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Resizing with the Window Control

    Ok, I have code that properly resizes a window from 320 x 240 to 640 to 480, etc. but this only works properly if you disable the window frame/toolbar in the app properties. Otherwise, you'll have some graphical distortion error because it apparently doesn't calculate the frame width properly if you have the window frame enabled. It will be off by a pixel or two.

    Is there a way to properly to resize the window AND still have a window frame without any graphical errors? I like being able to switch resolutions at runtime for the window, but I don't like the fact that I can't do it with a window frame enabled if I want the graphics to remain pixel perfect.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Location
    USA
    Posts
    2,970
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Resizing with the Window Control

    Possibly it would work if you could disable/enable heading at runtime but I don't think you can do that. For instance, disable heading, resize, then enable heading again.

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Resizing with the Window Control

    The window control object for some reason returns the size of the window - 2 pixels. Just add two back on. That's what solved it for me.
    Working as fast as I can on Fusion 3

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Resizing with the Window Control

    Quote Originally Posted by Shawn
    Possibly it would work if you could disable/enable heading at runtime but I don't think you can do that. For instance, disable heading, resize, then enable heading again.
    The Kernel Object can disable/enable the heading during runtime.

    Stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Sep 2008
    Posts
    79
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question

    Why doesnt work to me?

    In my test application the "Set Windows Sttye Caption" doesnt hide the heading of window.


    Sem título.jpg
    Attached files Attached files

Similar Threads

  1. Window Control: problem or bug on resizing?
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th January 2009, 08:26 PM
  2. Need help resizing my window!
    By Rich in forum File Archive
    Replies: 6
    Last Post: 7th October 2008, 05:32 AM
  3. Window Resizing
    By Kid_Roleplay in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 16th February 2007, 02:43 PM
  4. Resizing Window
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th November 2006, 04:43 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
  •