J
John Erickson
Hi,
I think I know what you are probably going to say to this, but I thought I'd
give it a shot anyway. I read all the other messages about Context menus and
how they are unsupport, but there's this hack. I've been trying to use the
hack for my Outlook 2000 add-in, but I'm having a really strange problem. I
track down the "Context Menu", then I find the CommandBarPopup on it that I
want to add 3 buttons to. I'm able to do all that and my new buttons work
fine. I can click on them and my event gets triggered and everything is
wonderful. The thing I can't explain is that my new buttons work the first
time the context menu is displayed, but 2nd and subsequent times my buttons
are missing. When I look at the context menu collection on the 2nd and
subsequent attempts to bring it up, the controls I added to the context menu
are still there. They're enabled, visible, have a height and a width, but
they just don't show up. I've attempted to use the Delete method on my
buttons and re-add them, but I can't seem to get that to work. The delete
doesn't seem to do anything. Is there some other call I need to make to have
the delete method work? Anyone have a clue how to fix this? I'd be happy to
share code on it, but it's somewhat lengthy.
John
I think I know what you are probably going to say to this, but I thought I'd
give it a shot anyway. I read all the other messages about Context menus and
how they are unsupport, but there's this hack. I've been trying to use the
hack for my Outlook 2000 add-in, but I'm having a really strange problem. I
track down the "Context Menu", then I find the CommandBarPopup on it that I
want to add 3 buttons to. I'm able to do all that and my new buttons work
fine. I can click on them and my event gets triggered and everything is
wonderful. The thing I can't explain is that my new buttons work the first
time the context menu is displayed, but 2nd and subsequent times my buttons
are missing. When I look at the context menu collection on the 2nd and
subsequent attempts to bring it up, the controls I added to the context menu
are still there. They're enabled, visible, have a height and a width, but
they just don't show up. I've attempted to use the Delete method on my
buttons and re-add them, but I can't seem to get that to work. The delete
doesn't seem to do anything. Is there some other call I need to make to have
the delete method work? Anyone have a clue how to fix this? I'd be happy to
share code on it, but it's somewhat lengthy.
John