Reputation: 885
I am using a WebBrowser control to display a webpage and would like to enable a button on the form, but only if the user has scrolled to the end of the webpage.
Is there any way to simply do this without having to override WndProc or something similar?
Thanks :)
Upvotes: 0
Views: 172
Reputation: 8815
an alternative is that if the user didn't click the button on the webpage, you show an error message, saying that the webpage must be read completely.
thus avoid detecting if the user has scrolled to the bottom of the page.
Upvotes: 0
Reputation: 19661
No.
And if you just want the user to view one page, rather than browse the web, the WebBrowser control is probably not what you want to use.
Upvotes: 1