Outlook 2007 Ribbon Minimized ComboBox OnChange
Unfortunately that also does not work.
I had already tested using Windows API and trying to display a modal
dialog in front of the Outlook inspector. I get the handle to the
ForegroundWindow and try to display a dialog with same results as with
displaying Message boxes.
Even tried to display a modal form from the combobox click and it does
not get displayed.
But everything works if it comes from a Button instead of the
ComboBox. I will try SPY++ and do some detective work with that :-).
Thanks for all your help. I guess in the worst case I can note this as
a known issue in our add-ins and advice customers to use it with
Ribbon maximized.
Regards,
Neil Goundar.
On Feb 16, 9:23 am, "Ken Slovak - [MVP - Outlook]"
wrote:
The only suggestion I can think of for that problem is a real hack. It would
be to get the hWnd of the Outlook Inspector window and place a modal dialog
window on top of that, using Win32 API calls. I think the problem is that
the parent of your message box is the ribbon frame and not the actual
Inspector window.
That could be checked and verified with some detective work using Spy++ to
see what windows are open in a window with a caption of "rctrl_renwnd32" and
see if your message box is shown in Spy++ and what window is its parent
window.
Unfortunately there will be bugs in the ribbon, some of which we know
already and some just waiting for discovery. When and if MS fixes them is
another question. However, if you have to support Outlook 2007 RTM then
there's not much you can do except try to find workarounds or come up with a
different UI design.
--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
wrote in message
oups.com...
Hello Ken,
Thanks for your help. I really appreciate it.
I have to clarify one point regarding what you wrote:
I can repro #1 ... but I don't really see that many users would enter
a negative number for font size.
The problem that I asked you to test was an illustration of what I am
observing in code that I have written. Because of this issue I am not
able to display any message when a users types in anything new in the
combobox. I need to be able to display a confirmation that this is
something new entered by a user then I will add it to a list that I
maintain but this message never comes up.
Thank you,
NeilGoundar.- Hide quoted text -
- Show quoted text -
|