User Tag List

Results 1 to 3 of 3

Thread: Getting Window Position

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Location
    Australia
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting Window Position

    Im using the window object to get the windows position so I cant set the positions of sub-apps in my game, ive noticed that the window positon refers to the top-left corner of the window,

    What I want is the 0,0 MMF position relative to the screen, is there any way of doing this?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Getting Window Position

    Drop the Window Control object. In its expression menu you will find Horizontal / Vertical position of the window. This is expressed in screen coordinates.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid 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: Getting Window Position

    Yes Francois but X/Y position of the window is the coordinates of the top-left corner of the window.

    Railfox, if you want to get the top-left corner of the client area of a window, use "Sphax Kernel object". <img src="/center/images/graemlins/wink.gif" alt="" />

Similar Threads

  1. Center window position
    By dnlhern in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th September 2013, 07:34 AM
  2. Window Control - Possible position bug
    By byo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd August 2013, 05:31 AM
  3. Center window position
    By Eagi in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 6th November 2012, 08:30 AM
  4. Object position relative to window edge?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th November 2011, 06:56 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
  •