问题1:我想在WebBrowser1中禁止右击!
问题2:这个也去掉!
问题1:我想在WebBrowser1中禁止右击!
问题2:这个也去掉!
屏蔽右键菜单
引用Microsoft HTML OBject Library
Dim WithEvents M_Dom As MSHTML.HTMLDocument
Private Function M_Dom_oncontextmenu() As Boolean
M_Dom_oncontextmenu = False
End Function
Private Sub Webbrowser1_DownloadComplete()
Set M_Dom = Webbrowser1.Document
End Sub
屏蔽滚动条,要用到API的,你也可以用图片框控件,把滚动条盖住