View Single Post
  #2  
Old December 3rd 07, 01:44 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programatically make CommandBarComboBox open

As far as I know there's nothing you can do like you want to do.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"goran" wrote in message
...
I made Outlook Add-in and it has CommandBarComboBox control that shows up
in
the Outlook toolbar. It has several items in the list. Based on what user
selects CommandBarComboBox repopulates with different values. I want
CommandBarComboBox to open automattically when I click on the item in the
list(or stay open) and not close. User has to click on the
CommandBarComboBox
to open it and see the result. CommandBarComboBox has only one event
"changed". I couldn't do anything with that. Any ideas how can I do this
in
the code. I tried with API call that works with VB combo box, but it takes
hWnd as a argument which CommandBarComboBox doesn't have. Couldn't do it
with
Sendkeys neither because it seems that you can only cause
CommandBarComboBox
to open if you click with the mouse on the down arrow. Any help is greatly
appriciated.

Thanks,

Goran


Ads