![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Thanks Ken. Is there any other type of dropdown box, other then
CommandBarComboBox that I can use in outlook? "Ken Slovak - [MVP - Outlook]" wrote: 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 |
#4
|
|||
|
|||
![]()
Not natively. Your choices are button, combo and popup.
Some 3rd party libraries or frameworks such as Add-In Express claim to let you use any form from the collection available for managed code in Windows Forms as Outlook controls for menus/toolbars but then you're locked into that framework, for good or bad. -- 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 ... Thanks Ken. Is there any other type of dropdown box, other then CommandBarComboBox that I can use in outlook? |
#5
|
|||
|
|||
![]()
Thanks a lot for your help.
"Ken Slovak - [MVP - Outlook]" wrote: Not natively. Your choices are button, combo and popup. Some 3rd party libraries or frameworks such as Add-In Express claim to let you use any form from the collection available for managed code in Windows Forms as Outlook controls for menus/toolbars but then you're locked into that framework, for good or bad. -- 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 ... Thanks Ken. Is there any other type of dropdown box, other then CommandBarComboBox that I can use in outlook? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to make a pic. attachement be previewed before I open it? | Mr. Nemo | Outlook - General Queries | 2 | November 20th 07 01:04 PM |
CommandBarComboBox on inspector toolbar | bstrum | Add-ins for Outlook | 3 | September 17th 07 10:50 PM |
HOWTO: Get the CommandBarComboBox event on the inspector | tonyl | Add-ins for Outlook | 3 | November 7th 06 01:18 PM |
Calendar will not let me open to make new apt. | Styl4u | Outlook - Calandaring | 8 | August 30th 06 05:03 AM |
CommandbarComboBox-Event in COM Add-In (VB .net 2005) | mcp_virtue | Outlook and VBA | 0 | February 12th 06 09:00 PM |