Re: Setting focus on a TWebBrowser
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 14:55:27 +0100
"Leif Holmgren" <nobody@xxxxxxxxxxx> wrote in message
news:43B469F2.5030308@xxxxxxxxxxxxxx
[...]
> Instead I had to tackle the original problem, which was that due to
> focus beeing in another control (a drop down) a user scrolling the
> mouse would cause massive numbers of
> blablabla.NavigateTo("yabbadehut.htm"),
Scroll wheel support is not quite up to the level of other input devices.
IE has an annoying habit of scrolling the frame under the mouse cursor,
even though the focus is in another frame. Some (control) windows do not
seem to support scrolling at all, suggesting that scrolling is not
handled by Windows itself, that application support is necessary.
> which in turn caused my app
> to hang. I'm still not sure why it hangs but it looks as if NavigateTo
> is called while the previous file is beeing rendered the browser hangs.
>
> So using an event flag, a timer and some other ugly stuff I managed to
> get my app not to hang without moving focus to the browser.
Isn't there some event that fires when rendering is complete, or some
method you could call to find out?
Groetjes,
Maarten Wiltink
.
- References:
- Setting focus on a TWebBrowser
- From: Leif Holmgren
- Re: Setting focus on a TWebBrowser
- From: Delphi Fan
- Re: Setting focus on a TWebBrowser
- From: Leif Holmgren
- Setting focus on a TWebBrowser
- Prev by Date: Delphi Shareware
- Next by Date: Re: Calling the Third party setup from my setup.exe thro' LaunchAppandwait
- Previous by thread: Re: Setting focus on a TWebBrowser
- Next by thread: looking for a delphi programmer with some decent experience
- Index(es):
Relevant Pages
|