Click here to Skip to main content
14,980,532 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:

I want to export an inherited class from CListCtrl (C++ MFC class) as ActiveX control. Is it possible? I read so many articles related to ActiveX but nothing useful for the same.

Please help
Updated 24-May-11 1:18am

1 solution

it's certainly possible, take a look at[^]

You'd need to bolt your listctrl into a COleControl and use a COleControlModule instead of a CWinApp
GgAben 24-May-11 8:21am
can you suggest any sample code? i am not aware of the MFC related coding, i am a .NET programmer. Here i want to export a vc++ control and need to use it in .NET.
barneyman 24-May-11 18:49pm
have a look at

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900