OK: i have found this code in a post, whilst trying to find right click....
now im guessin i need reference to the MS HTML Object etc...
but it still errors.. what else do i need to add to the code? is the code complete or?
VB Code:
Private Sub webPage_DocumentComplete(ByVal pDisp As Object, URL As Variant) Set doc = webPage.Document End Sub Private Sub doc_onmousedown() Dim eventObj As IHTMLEventObj Set eventObj = doc.parentWindow.event If eventObj.Button = rightButton Then If doc.selection.Type = "Text" Then End If PopupMenu mnuPage End If End Sub
i also found mension in another post about doc_onkeypress
but they didnt know the sections the functions had,
now, these posts are like ages old. so, can any of you guys help me with either of these please....
thanks![]()




Reply With Quote