User Tag List

Results 1 to 2 of 2

Thread: Window Control extension bug - focus lies

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Posts
    415
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Window Control extension bug - focus lies

    Under Vista, I have a sub-application pop-up frame. In this frame, I use the Window Control extension. I want people to be able to hit Enter or Escape to close the popup. So I have "On Enter"+"Window has Focus"->Hide the pop-up. This code is located in the frame of the sub-app. It works in that it hides the window when Enter is hit. The bug is that the application always thinks it has focus, even when another application has focus.
    So if I hit enter in my AIM/Pidgin window, this sub-app frame will hide. That's a bug.

    The Window Object manual claims that this code should work:
    Code:
    Has Focus? 
    Tests to see if the window of the application (or sub-application) or one of its child windows has the input focus.
    I tried using "On Enter"+"Application is active?", but there is no change.

    So in a sub-app frame, both "Application is active?" and "Window has focus?" always return true.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Window Control extension bug - focus lies

    "Window has focus" is local to the application and returns true if the window has the focus even if the application is not active.

    So in a sub-app frame, both "Application is active?" and "Window has focus?" always return true.
    That's wrong, "Application is active" returns false when the application is not active, even in a sub-application. I've just tested it. Check your events, there might be a mistake in the logic.

Similar Threads

  1. 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
  2. Window in focus
    By Ls2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 16th September 2011, 09:53 PM
  3. Window Control extension bug?
    By Bruto in forum File Archive
    Replies: 0
    Last Post: 22nd December 2009, 04:27 PM
  4. Set window focus
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th September 2007, 11:19 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
  •