What is the C++ code for getting to the browser itself?

https://developer.mozilla.org/en/Code_snippets/Finding_Window_Handles
says it should be something like:

>    nativeWindow hwnd;
>    nsresult rv = window->GetParentNativeWindow(&hwnd);
>    if (NS_FAILED(rv)) return NULL;
>    return (HWND)hwnd;

Can anyone test?

Cheers

S. Ali Tokmen
http://ali.tokmen.com/

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to