R
Raju Joseph
Hi All
I am automating Word 2002 (XP) from my Visual Basic .NET application. I have
sinked the application events. Also, I want to prevent user from selecting
'New' and 'Open' menu items under 'File' menu as well as the 'New' and
'Open' toolbar buttons on 'Standard' toolbar.
I have successfully handled this also by sinking the events corresponding to
CommandBarButton object.
Here is the problem.
HOW DO I TRAP THE KEYBOARD SHORTCUTS?
When the user presses CTRL+N, a new document is opened. Same for CTRL+O.
Please help. Any thoughts or suggestions? Is there any way I can sink the
keyboard events?
Thank You....
Raj
I am automating Word 2002 (XP) from my Visual Basic .NET application. I have
sinked the application events. Also, I want to prevent user from selecting
'New' and 'Open' menu items under 'File' menu as well as the 'New' and
'Open' toolbar buttons on 'Standard' toolbar.
I have successfully handled this also by sinking the events corresponding to
CommandBarButton object.
Here is the problem.
HOW DO I TRAP THE KEYBOARD SHORTCUTS?
When the user presses CTRL+N, a new document is opened. Same for CTRL+O.
Please help. Any thoughts or suggestions? Is there any way I can sink the
keyboard events?
Thank You....
Raj