ActiveX Control for C++ Addin

I have created an ActiveX control which I want to use it inmy Addin(C++). Can anyone suggest how to do message mapping..itried in VB..it is very easy.But how to implement an ActiveXcontrol in C++ for SW to use it in propertymanager page.SolidworksApi macros