S
Sumit Kalra
Hi Everybody,
I have a list of problems with Outlook Add-Ins. My problem
is that I want to add a Popup type button with Image,
anyhow. Now I got three solutions, but each has having
problem.
Ist Soluion:
Adding a normal button (ControlButton) with image and
popup button without caption (to look like popup control
with image). Problem with this, Popupwithout caption
removes the drop down arrow image from control. It doesn't
show anything till you move cursor on it. Means its still
not perfect.
IInd Solution:
Making a msoPopup type CommandBar. Having a normal
controlbutton and showing popup commandbar on its click
(by showpopup). Works fine and shows the popup below the
normal button to give it a look of Popup with image. But
problem with this, submenu item click doens't work. Popup
menu item doesn't allow to trace click event.
IIIrd Solution:
Using "New" button ID (858 I think) to make the new
msoPopupControl. It shows the popup perfectly with image
and on click of drop down it shows sub menu. Perfect.
Problem with this, its click works like "New Button". It
image changes as "New" button. Means the functionality of
drop down is perfect but default button click is replica
of New button.
What I want is a simple popup button with image. I don't
want default button functionality (not urgent). Please
help fast. I am running out of time.
Thanks in advance.
Regards,
Sumit
I have a list of problems with Outlook Add-Ins. My problem
is that I want to add a Popup type button with Image,
anyhow. Now I got three solutions, but each has having
problem.
Ist Soluion:
Adding a normal button (ControlButton) with image and
popup button without caption (to look like popup control
with image). Problem with this, Popupwithout caption
removes the drop down arrow image from control. It doesn't
show anything till you move cursor on it. Means its still
not perfect.
IInd Solution:
Making a msoPopup type CommandBar. Having a normal
controlbutton and showing popup commandbar on its click
(by showpopup). Works fine and shows the popup below the
normal button to give it a look of Popup with image. But
problem with this, submenu item click doens't work. Popup
menu item doesn't allow to trace click event.
IIIrd Solution:
Using "New" button ID (858 I think) to make the new
msoPopupControl. It shows the popup perfectly with image
and on click of drop down it shows sub menu. Perfect.
Problem with this, its click works like "New Button". It
image changes as "New" button. Means the functionality of
drop down is perfect but default button click is replica
of New button.
What I want is a simple popup button with image. I don't
want default button functionality (not urgent). Please
help fast. I am running out of time.
Thanks in advance.
Regards,
Sumit