hello,
I tried to get a commandbar with the FindControl method, but I didn't
manage to use it because I don't understand the parameters
FindControl( VARIANT type, VARIANT id, VARIANT tag, VARIANT visible)
could someone help me please ?
yann
Dmitry Streblechenko - 31 Aug 2005 05:45 GMT
FindControl will not return a command bar as far as I know.
Have you tried CommandBars.Item("Your Command Bar Caption")?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> hello,
>
[quoted text clipped - 6 lines]
>
> yann
cyan21 - 31 Aug 2005 14:11 GMT
I have the GetItem method that takes in parameter a variant which
represents , I suppose, its position in the container.
CCommmandBarsPtr GetItem(const _variant_t &Index)
I'm not sure its ID is the same that its position
Dmitry Streblechenko - 31 Aug 2005 19:02 GMT
It is either an integer (index) or a string (name).
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
>I have the GetItem method that takes in parameter a variant which
> represents , I suppose, its position in the container.
>
> CCommmandBarsPtr GetItem(const _variant_t &Index)
>
> I'm not sure its ID is the same that its position