"Please wait.." while processing the page

Add-in Express™ Support Service
That's what is more important than anything else

"Please wait.." while processing the page
display a status overlay on the page while page is being scraped after load complete 
Madhu Chinthakunta




Posts: 6
Joined: 2011-06-21
Hello:

I have an IE add-on with a toolbar and an explorer bar.

After navigating to a page, I scrape the page. This works fine. However, some pages can take 60 seconds + to scrape. I would like to change the display in the IE browser window so that it is greyed out and has an animated icon or some text indicating "Processing...please wait". When the page is done processing, I want to clear it.

How do I achieve this? Do I need to inject javascript? or change the opacity of the page etc.

regards,
madhu
Posted 24 Jun, 2011 00:57:06 Top
Sergey Grischenko


Add-in Express team


Posts: 7234
Joined: 2004-07-05
Hi Madhu,

I am afraid it is not possible to implement using the IE object model. IE has already have the progress bar in the 'Status Bar' window.
However you can try to use Win32 API to repaint the browser window and lock them.
E.g. to lock the window you can use the 'LockWindowUpdate' funciton.
http://msdn.microsoft.com/en-us/library/dd145034(v=vs.85).aspx
Posted 24 Jun, 2011 05:00:12 Top