On Saturday 04 March 2006 13:22, lukt1 wrote:
hi,

did you call before the activate/deactivate of window ?

best regards,
Michal

> hello!
> I`m writting gecko embed app in c++ builder.
> I have a problem with nsIWebBrowserFocus interface.
> I need to set focus at first(or last) element
> but method SetFocusAtFirstElement() does not set the
> focus.
> Here is my code:
>
> nsCOMPtr<nsIWebBrowserFocus> focus;
> mWebBrowser->QueryInterface(NS_GET_IID(nsIWebBrowserFocus),(void
> **)&focus);
> focus->SetFocusAtFirstElement();
>
> lukt1
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to