Re: Focus for NPAPI plug-in for Alt-Tab

[email protected]
Newsgroups gmane.comp.mozilla.devel.plugins
Organization http://groups.google.com
Message-ID <21438371.24.1330934907553.JavaMail.geo-discussion-forums@pbhi3>
在 2012年1月24日星期二UTC+8下午7时43分42秒,jaitirth shirole写道:
> In our NPAPI plug-in, we handle WM_SETFOCUS in the plug-in's wndproc.
> We get here when we switch tabs in a Firefox browser window.
> But, if we Alt-Tab to another Windows application and come back, we
> don't get this event.
> If we do Alt-Tab for the second time, this event does get fired!
> How does Mozilla code decide when to handover WM_SETFOCUS to plug-in's
> wndproc and when not to?
> How can we guaranteedly receive this event in this particular Alt-Tab
> case when the plug-in containing Firefox top level window is indeed
> getting activated?
> 
> BTW, I've seen the same behavior for Flash & PDF plug-ins.
> 
> Any solutions, workaround?

he

在 2012年1月24日星期二UTC+8下午7时43分42秒,jaitirth shirole写道:
> In our NPAPI plug-in, we handle WM_SETFOCUS in the plug-in's wndproc.
> We get here when we switch tabs in a Firefox browser window.
> But, if we Alt-Tab to another Windows application and come back, we
> don't get this event.
> If we do Alt-Tab for the second time, this event does get fired!
> How does Mozilla code decide when to handover WM_SETFOCUS to plug-in's
> wndproc and when not to?
> How can we guaranteedly receive this event in this particular Alt-Tab
> case when the plug-in containing Firefox top level window is indeed
> getting activated?
> 
> BTW, I've seen the same behavior for Flash & PDF plug-ins.
> 
> Any solutions, workaround?


Hi shirole,
   Is your problem solved? if Ok ,can you share your method, thx!
_______________________________________________
dev-tech-plugins mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-plugins
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.