User Tag List

Results 1 to 4 of 4

Thread: Window size differences

  1. #1
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Window size differences

    This might have been mentioned before, but different XP themes seem to have an effect on the vertical size of the client area

    For example, I have this window set to 640 x 480


    In Luna, it looks like the client area is 481 pixels tall, but in classic theme it's 479. I haven't noticed any problems with the horizontal size.

    Also, is there a way to resize the client area at runtime? Right now I have the frame set to resize to the screen size at start, which works, but it leaves some of the frame covered by the title and menu bars.


  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window size differences

    resize the client area at runtime by using the normal window resize.

    You can calculate window y size - client area

    Then when resizing just set the window size to "client size" + x

  3. #3
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window size differences

    with "Sphax Kernel object" you can retrieve window size and client area size and position so you can calculate a correct size for your client area.

  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: Window size differences

    Interesting, I thought this was common knowledge.

    To help other developers I added a page regarding this issue to the wiki here.

    http://www.clickwiki.info/index.php/Windows_size_difference

    You'll need to read it to get up to speed regarding this issue, it a little more comprehensive and covers more aspects of what can affect the client area.

    Your article has also inspired a new category at the ClickWiki called Debugging Applications.

    Thanks.

Similar Threads

  1. Window size?
    By Bipolar_Games in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 18th October 2012, 02:10 PM
  2. Window Size.
    By Carlos182 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th September 2009, 04:29 PM
  3. Window Size
    By Zabooza in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 23rd April 2009, 05:47 AM
  4. Window Size bug
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd March 2009, 04:00 AM
  5. [BUG] Window size...
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th June 2007, 07:55 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
  •