By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

Using Windows Forms Controls as ActiveX controls

P: n/a
Hi

I have created a couple of Windows Forms controls in C# either by
composition or by subclassing existing controls. I'm able to use these
controls as ActiveX controls by using "register for COM Interop". I then
access the control in a old application written in C++ (using VS 205). This
works fine!

What if I wish to use a standard control, e.g. TreeView, as an ActiveX
control? I can of course subclass the control, without changing the
behaviour, but surely there must exist an easier way?!?!

Are the Windows Forms Controls already exposed as standard AxtiveX controls?

Are there any tricks or examples on how to handle events?

Oct 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lars,

Probably is this page giving you the answers on your question.

http://msdn.microsoft.com/msdnmag/is...h/default.aspx

Cor
Oct 16 '07 #2

P: n/a
"Cor Ligthert[MVP]" wrote:
Lars,

Probably is this page giving you the answers on your question.

http://msdn.microsoft.com/msdnmag/is...h/default.aspx
No, it didn't answer my question, but it is still useful information to me.
Thanks!

Oct 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.