User Tag List

Results 1 to 4 of 4

Thread: I know the prob but not how to fix it? Do you?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I know the prob but not how to fix it? Do you?

    Ok,using the window object when you set the size of the window to the say 640 x 480 that includes the frame, menu bar, and thick frame at the top? so the actual frame is then all of them smaller? if you get me, how can set the window size + the size of the menu + the size of the frame and the title bar, the only way i can do it at the moment is by guessing the size but that goes all wrong when you set it to full screen which is an option.

    anyone know an extension to get the information i need?
    Thanks
    Andy

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: I know the prob but not how to fix it? Do you?

    You mean like an action "set ClientSize"?

    You can set the client size by using this formulas:

    XSIZE

    YOURWISHEDSIZE+(WinXSize( "Window Control" )-ClientWidth( "Window Control" ))

    YSIZE

    YOURWISHEDSIZE+(WinYSize( "Window Control" )-ClientHeight( "Window Control" ))


    The formula calculates the size of the heading, menubar etc., and adds it to your size.


    So, get it:

    WinYSize( "Window Control" )-(WinYSize( "Window Control" )-ClientHeight( "Window Control" ))

    That should work.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I know the prob but not how to fix it? Do you?

    Thats the one! Thanks
    Gib

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I know the prob but not how to fix it? Do you?

    Nice solution to a common problem.

    I've posted it here on the ClickWiki.

    http://www.clickwiki.info/index.php/Window_Object#Frame_resizing_taking_into_account_a ll_the_factors

Similar Threads

  1. [help?] (HWA prob) Guitar Hero related
    By Tim in forum File Archive
    Replies: 7
    Last Post: 27th July 2010, 07:42 AM
  2. Common dialouge prob
    By Robin_Manager in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th February 2009, 11:27 AM
  3. Strange "Distance Between" prob!
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th November 2006, 02:48 PM
  4. Prob d'affichage
    By Nicky634 in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 28th July 2006, 02:57 AM

Posting Permissions

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