Re: Help:IWebBrowser2 / DISPID_NEWWINDOW2 /Child window hangs
- From: "arshad" <arshad_w_khan@xxxxxxxxx>
- Date: 22 May 2005 01:38:58 -0700
Hi All,
I just found out that when a new browser window is created in
DISPID_NEWWINDOWS2 and Java script disables the parent IE window which
in turn doesn't allow any window from any process to come on top of it
, and the newly created window is also not aceepting any events like
mouse click.
But if some how i enable the parent IE window everything starts working
fine ..... Any Idea guys !!!!!
arshad wrote:
> Hi Everybody,
>
> Help me with your experience.My problem is as follows
>
> -I create a browser control which is embedded in a simple window with
a
> title bar.
>
> -I create another IWebBroswer2 object when I get DISPID_NEWWINDOW2
> event and return the new IWebBrowser2 object.
>
> Problem:
>
> When a new window is created in DISPID_NEWWINDOW2 and the control
> browse to the URL , it disables the parent control window.I cannot do
> anything on the parent window.This is perfectly fine.But I can't
either
> do anything even on the newly created browser control, no mouse
related
> activity.I am not sure whats the problem.Though TAB and other
keyboard
> events are working fine.This is because the my main message loop is
> calling IOleInPlaceActiveObject::TranslateAccelerator for the new
> browser window.
>
> When I right click on the browser window in the task bar the new
> control window start working i.e i can now work with mouse on the new
> created window.
>
> The page that I am browsing to is a .jspx page !!!!!
>
> Please help me out !!!!!
>
> Igor and Mike I am waiting for your response since I see that you two
> guys help almost everyone.
>
> Arshad
.
- References:
- Prev by Date: How to: Load HTML images from database?
- Next by Date: Re: How to: Load HTML images from database?
- Previous by thread: Help:IWebBrowser2 / DISPID_NEWWINDOW2 /Child window hangs
- Next by thread: How to: Load HTML images from database?
- Index(es):
Relevant Pages
|
|