🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1293

Re: TCppWebBrowser, Focus, and Refresh()

#1293
From: Albert Wiersch
Date: Tue, 01 Mar 2005 00:06
31 lines
1750 bytes
Anyone have a solution as to why the Refresh() method takes focus?

Perhaps a workaround so that I could find out the currently focused 
window/control and then revert back to it after I call Refresh()? I briefly 
experimented with this but couldn't find something that worked.

Thank you.

-- 
Albert Wiersch
http://www.htmlvalidator.com/


"Albert Wiersch" <mrinternetnewsborland@wiersch.com> wrote in message 
news:421e3c72@newsgroups.borland.com...
>
> When I call the Refresh() method of TCppWebBrowser, the browser steals the 
> focus. This doesn't happen when the Navigate() method is called.
>
> How can I stop the Refresh() method from taking the focus and giving it to 
> TCppWebBrowser?
>
> Thanks.
>
> -- 
> Albert Wiersch
> http://www.htmlvalidator.com/
>
>
> 
Technical Details
Message-ID: <4223b1dc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <421e3c72@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,44b7dea550a8a14b
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Albert Wiersch" <mrinternetnewsborland@wiersch.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <421e3c72@newsgroups.borland.com>
Subject: Re: TCppWebBrowser, Focus, and Refresh()
Date: Mon, 28 Feb 2005 18:06:05 -0600
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 70.244.73.182
Message-ID: <4223b1dc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109635548 70.244.73.182 (28 Feb 2005 16:05:48 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail