[Bug 263435]

Ws-bugzilla 263435 at bugs.launchpad.net
Mon Apr 4 15:46:55 UTC 2011


(In reply to comment #447)
>   1. Get the HWND of the parent
>   2. Send a message WM_SETFOCUS to that HWND after having sent WM_KILLFOCUS
>      to the plugin

No change. I've also tried:

          HWND parent = GetParent(hWnd);
          if (parent)
            SetFocus(parent);
and
          HWND parent = GetParent(GetFocus());
          if (parent)
            SetFocus(parent);

The above examples clear the yellow focus rectangle, but TAB still tabs
through the plugin's controls.

I think this is the wrong approach though;
https://developer.mozilla.org/en/Code_snippets/Finding_Window_Handles
suggests that there is only one native window in Firefox 4. I reckon
something like my "widget->GetParent()" snippet is required.

Some help from anyone familiar with how to locate the tab widget and
focus it properly would be appreciated.

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/263435

Title:
  Firefox cannot close tab (using Ctrl-w) when flash content is selected
  on page




More information about the Ubuntu-mozillateam-bugs mailing list