Click here to Skip to main content
15,891,316 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralATL COM Pin
Binayak18-Sep-03 13:07
Binayak18-Sep-03 13:07 
GeneralRe: ATL COM Pin
Braulio Dez22-Sep-03 5:15
Braulio Dez22-Sep-03 5:15 
QuestionHow do you catch Dialog Boxes from a Browser Help Object (BHO) Pin
RickGavin18-Sep-03 7:26
RickGavin18-Sep-03 7:26 
GeneralATL 7.0 COM Object Deployment Pin
Braulio Dez18-Sep-03 4:36
Braulio Dez18-Sep-03 4:36 
QuestionHow to release memory? when calling COM with param type BSTR* from VB exe application Pin
doisy18-Sep-03 2:30
doisy18-Sep-03 2:30 
AnswerRe: How to release memory? when calling COM with param type BSTR* from VB exe application Pin
Braulio Dez18-Sep-03 4:41
Braulio Dez18-Sep-03 4:41 
AnswerRe: How to release memory? when calling COM with param type BSTR* from VB exe application Pin
Tom Welch18-Sep-03 5:15
Tom Welch18-Sep-03 5:15 
GeneralOffice::CommandBarControl problem Pin
dorutzu17-Sep-03 4:19
dorutzu17-Sep-03 4:19 
Hi! It's me again! Smile | :)

I'm trying to insert a DropdownButton in my Outlook plugin...a msoControlButtonDropdown button, but I just don't know how!
Here is (a piece of)my code:

CComVariant vToolBarType2(msoControlDropdown);
CComPtr < Office::CommandBarControl> spNewBar;

spNewBar = spBarControls->Add(vToolBarType,vEmpty,vEmpty,vEmpty,vShow);
ATLASSERT(spNewBar2);

The problem is that the Add Method only accepts as the first parameter msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, or msoControlPopup; and I want to use msoControlButtonDropdown.
Any ideas how should I do this, or how should I go around it?
As you see, the code is written in C++, but even if you have a VB sample, I guess it should do the trick.

Thanks a lot, Rose | [Rose]
Doru K.
GeneralAn Outlook Addin issue Pin
dorutzu16-Sep-03 12:06
dorutzu16-Sep-03 12:06 
GeneralRe: An Outlook Addin issue Pin
Stuart Dootson16-Sep-03 14:53
professionalStuart Dootson16-Sep-03 14:53 
GeneralRe: An Outlook Addin issue Pin
dorutzu16-Sep-03 23:55
dorutzu16-Sep-03 23:55 
Generalatltypes.h Pin
rbottoms15-Sep-03 17:12
rbottoms15-Sep-03 17:12 
GeneralRe: atltypes.h Pin
Michael Dunn15-Sep-03 17:48
sitebuilderMichael Dunn15-Sep-03 17:48 
GeneralRe: atltypes.h Pin
rbottoms15-Sep-03 18:13
rbottoms15-Sep-03 18:13 
GeneralRe: atltypes.h Pin
Steve S15-Sep-03 21:45
Steve S15-Sep-03 21:45 
GeneralRe: atltypes.h Pin
rbottoms16-Sep-03 5:40
rbottoms16-Sep-03 5:40 
GeneralMS Command Button Pin
Bernhard15-Sep-03 2:15
Bernhard15-Sep-03 2:15 
GeneralRe: MS Command Button Pin
Ed Gadziemski15-Sep-03 11:35
professionalEd Gadziemski15-Sep-03 11:35 
GeneralRe: MS Command Button Pin
Bernhard15-Sep-03 20:17
Bernhard15-Sep-03 20:17 
GeneralIs this safe? (map) Pin
Jeremy Pullicino11-Sep-03 3:38
Jeremy Pullicino11-Sep-03 3:38 
GeneralRe: Is this safe? (map) Pin
Brad Sokol11-Sep-03 3:58
Brad Sokol11-Sep-03 3:58 
GeneralRe: Is this safe? (map) Pin
Andrew Walker11-Sep-03 19:12
Andrew Walker11-Sep-03 19:12 
GeneralRe: Is this safe? (map) Pin
Michael Dunn11-Sep-03 20:06
sitebuilderMichael Dunn11-Sep-03 20:06 
GeneralRe: Is this safe? (map) Pin
Andrew Walker12-Sep-03 22:43
Andrew Walker12-Sep-03 22:43 
GeneralRe: Is this safe? (map) Pin
Michael Dunn13-Sep-03 5:57
sitebuilderMichael Dunn13-Sep-03 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.