A
asenna
i'm using a treeview control in my custom outlook form, and need to
capture events other than the click event, which aren't support in
Outlook VBScript. i've read one of the posting here mentioned i could
build a cutom control (with the treeview in it) in VB6, and then
capture the events in my method and call in outlook. could anyone
explain to me how this could be done? how to call in outlook form
script, how to set up method in VB? i've attached the original posting
below for reference.
thanks.
============the posting==============
My thanks to Randy Burne who answered to me on "tree view click event"
by
<<Are you placing a TreeView control on your custom Outlook form? >> I
Do
<<If you do
so, the only supported event in Outlook VBScript is the click event.
However, if you encapsulate the TreeView control in an ActiveX
control, you
can trap events in the control such as NodeClick, DblClick, etc. and
then
pass those event names back to your VBScript container in a method of
the
control. This is known as proxying events for the control. Your
VBScript
code can then take actions based on the event name passed back in the
proxy
method.>>
My question is: how it can be done. My Coleague who works constantly
in Vb
says that he can make it as dll, but I can't reference from outlook
to dll
(only ocx)?! He also says that it could be done from C, he doesn't
know how,
but maby somebody does! If so please mailto:[email protected]
capture events other than the click event, which aren't support in
Outlook VBScript. i've read one of the posting here mentioned i could
build a cutom control (with the treeview in it) in VB6, and then
capture the events in my method and call in outlook. could anyone
explain to me how this could be done? how to call in outlook form
script, how to set up method in VB? i've attached the original posting
below for reference.
thanks.
============the posting==============
My thanks to Randy Burne who answered to me on "tree view click event"
by
<<Are you placing a TreeView control on your custom Outlook form? >> I
Do
<<If you do
so, the only supported event in Outlook VBScript is the click event.
However, if you encapsulate the TreeView control in an ActiveX
control, you
can trap events in the control such as NodeClick, DblClick, etc. and
then
pass those event names back to your VBScript container in a method of
the
control. This is known as proxying events for the control. Your
VBScript
code can then take actions based on the event name passed back in the
proxy
method.>>
My question is: how it can be done. My Coleague who works constantly
in Vb
says that he can make it as dll, but I can't reference from outlook
to dll
(only ocx)?! He also says that it could be done from C, he doesn't
know how,
but maby somebody does! If so please mailto:[email protected]