(In reply to comment #449)
> 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.
The page indicates indeed that the parent HWND is the browser itself (and not the Web page nor the tab). I guess we need to focus some "focusable" element (text box, text, ... and NOT a whole window).
The CPP file has a GetProp of NS_PLUGIN_WINDOW_PROPERTY_ASSOCIATION on the HWND. Can you please check if the HWND has other properties assigned, perhaps we can find the hosting Web page that way...
Also, did anyone check the patch for GTK2 (Linux)? If the patch for Linux seem to work fine, can anyone check it on to the trunk?
(In reply to comment #449) /developer. mozilla. org/en/ Code_snippets/ Finding_ Window_ Handles suggests >GetParent( )" snippet is required.
> I think this is the wrong approach though;
> https:/
> that there is only one native window in Firefox 4. I reckon something like my
> "widget-
The page indicates indeed that the parent HWND is the browser itself (and not the Web page nor the tab). I guess we need to focus some "focusable" element (text box, text, ... and NOT a whole window).
The CPP file has a GetProp of NS_PLUGIN_ WINDOW_ PROPERTY_ ASSOCIATION on the HWND. Can you please check if the HWND has other properties assigned, perhaps we can find the hosting Web page that way...
Also, did anyone check the patch for GTK2 (Linux)? If the patch for Linux seem to work fine, can anyone check it on to the trunk?
Cheers
S. Ali Tokmen ali.tokmen. com/
http://