Re: How to detect page refresh in vc++
<firstname.lastname@example.org> wrote in message
I understood,but the thing is that if I keep a messagebox in
DownLoadBegin function then this message box is coming so many times
If I don't do page refresh or don't do any page navigation also.Why
so? Keeping the ,messagebox in downloadbegin,if I am opening
www.yahoo.com, and move the mouse over the page,then so many
messageboxes are coming with out doing any refresh or any page
navigation.why this happening?
My guess would be, the page is doing AJAX requests with XMLHTTPRequest.
I can't reproduce the issue though, at least not on Yahoo homepage.
should I keep parameters in
You can't just invent parameters to an event: an event either has them
or it doesn't. Lacking mind-reading abilities, the browser wouldn't know
that it's suddenly supposed to send you some additional parameters
you've just dreamed up.
I want to get
the current url in downloadbegin
so I prefer to have parameters like
this: DownloadBegin(IDispatch* pDisp, VARIANT* URL)
And I happen to want a pony. Too bad I can't have one.
How to get the messageboxes only at the time of page refresh or
different page navigation?Plz help me.
Let's start from the beginning. Why do you want that? What's the end
goal you are trying to achieve?
With best wishes,
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925