Ad Context Menu in Outlook 2007

  • Thread starter Thread starter Sanya Ibrahim
  • Start date Start date
S

Sanya Ibrahim

Hello All,
I have a List Box in a User Form in Outlook 2007. I want to add a Context
Menu that pops up when i right click on the Mouse. Can any one please tell me
how to go about it?
Thanks,
Sanya
 
If this is an Outlook VBA UserForm you would need to add a handler for the
UserForm.MouseUp or .MouseDown events. If you want to handle a right-click
on the listbox you would handle ether of those events on the ListBox object.

In either case I'm not sure how you'd create a context menu if it's possible
at all. You'd have to research that in the Help for VBA or MS Forms 2.0 (the
library that supplies the UserForm and controls). The Object Browser shows
no menus of any kind in that library.
 
Back
Top