J
Jonas Olofsson
Hi!
I am trying to use the WindowBeforeRightClick event on the application
object in Office XP. Problem is when the user right-clicks a _shape_ the
event is sometimes not fired! The problem does not occur in Word 2000. Try
the follwing code. Very thankful for suggestions on how to counteract this.
Private WithEvents mobjAppl As Word.Application
Set mobjAppl = New clsApplication
Private Sub mobjAppl_WindowBeforeRightClick(ByVal Sel As Selection, Cancel
As Boolean)
msgbox "WindowBeforeRightClick"
End Sub
Thanks,
Jonas
I am trying to use the WindowBeforeRightClick event on the application
object in Office XP. Problem is when the user right-clicks a _shape_ the
event is sometimes not fired! The problem does not occur in Word 2000. Try
the follwing code. Very thankful for suggestions on how to counteract this.
Private WithEvents mobjAppl As Word.Application
Set mobjAppl = New clsApplication
Private Sub mobjAppl_WindowBeforeRightClick(ByVal Sel As Selection, Cancel
As Boolean)
msgbox "WindowBeforeRightClick"
End Sub
Thanks,
Jonas