User Tag List

Results 1 to 6 of 6

Thread: Set window focus

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set window focus

    My application loads an invisible application in the backgound, but on doing so the main application loses focus. I've tried messing with the Window Control object but that can't do it.

    I'm pretty sure this must be very possible, so any help would be greatly appreciated! Thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    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)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Set window focus

    Have you tried running minimize on startup?

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set window focus

    At the moment im running the application:

    Apppath$+"\data\aud"

    How would i set it so that it is minimized? Do i need to add a command to that?

    The invisible application has "Hidden at start" selected in the properties.

  4. #4
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set window focus

    Have the hidden app set a shared value 1 = 1 at sof, and then make the main app have a condition (comparing two values)

    ---->If shared value =1 (once per loop) then set the focus on, and then set shared value 1=0?

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set window focus

    That's similar to what i've tried, but Focus on does not actually work.

    Even if it has

    Always: Focus on

    It doesn't work.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set window focus

    I know this problem ...

    Try this:
    Create an invisilbe Edit object with checked option Read only and set focus on. Now this frame get the focus...

Similar Threads

  1. Dangerous window focus bug in MMF2
    By Nifflas in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 25th October 2012, 06:09 AM
  2. Set focus the Window control not work
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th August 2012, 07:52 AM
  3. Window in focus
    By Ls2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 16th September 2011, 09:53 PM
  4. Simulating Keys without window Focus
    By Dines in forum Extension Development
    Replies: 8
    Last Post: 10th April 2007, 02:54 PM
  5. "Window has focus"
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th September 2006, 06:16 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
  •