Reputation: 1393
I am creating my personal DVR program instead of using the one in the package. my problem is, I want to disable the mouse because whenever I click it in the camera feed (webBrowser control), it enlarges/zooms and it overflows the fixed size of the form I want. can I disable that? so it will stay to the size that I want.
I already used this
web.IsWebBrowserContextMenuEnabled = False
web.AllowWebBrowserDrop = False
I have put it in Form_Load, it does disable the clicks.. but after i click it once.. help
Upvotes: 1
Views: 2025
Reputation: 61656
See if the following does what you're after:
CType(web, System.Windows.Forms.Control).Enabled = False
Upvotes: 1