Using Activex on outlook custom form,and handling events from an Add-in:

T

tomer

If any one interested i did some research:

First i put a ListView control on a custom form

Than from the addin i tried to get a reference to the control

Set x = objInsp.ModifiedFormPages("P.2").Controls("ListView1")
this return intrinsic object (MSForms.Control .i think)



the following

?TypeName(TypeName( objInsp.ModifiedFormPages("P.2").Controls("ListView1")))

return :Control


the following

?TypeName( objInsp.ModifiedFormPages("P.2").Controls("ListView1").object)
return:IListView

Using the object browser i set to display all hidden memebr of ComCtlLib
And i can see two interfaces IListView10,and ILIstView11

one of them is restricted for use in VB,using the other i get nothing.

I think it can work in VC,I wonder why i get IListView and not
ListView(IDispatch ?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top