|
|
Title | Make copy, cut, and paste menus for a WebBrowser control |
Keywords | WebBrowser, menu, copy, cut, paste |
Categories | Utilities, Controls, Internet |
|
|
Place a WebBrowser cotrol on the form. Use the WebBrowser's ExecWB method to implement the copy, cut, and paste functions.
|
|
Private Sub mnuFileCopy_Click()
WebBrowser1.ExecWB OLECMDID_COPY, _
OLECMDEXECOPT_DODEFAULT
End Sub
Private Sub mnuFileCut_Click()
WebBrowser1.ExecWB OLECMDID_CUT, OLECMDEXECOPT_DODEFAULT
End Sub
Private Sub mnuFilePaste_Click()
WebBrowser1.ExecWB OLECMDID_PASTE, _
OLECMDEXECOPT_DODEFAULT
End Sub
|
|
|
|
|
|