Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Associate MFC wrapper to An MFC ActiveX control to control

Status
Not open for further replies.

6142

Programmer
Oct 18, 2000
18
CA
Hi again !

I'm working on VC++ 6 on windows NT.
I have built a MFC based ActiveX control "Flash control".
I have built an ATL composite control which contains the MFC control.
How do I associtae the control to the MFC wrapper class that was created ?
( The wrapper class derives from COleControl and was mad when using the
"Add to Project" dialog in the menu.

Thanks again,Ron
 
With class wizard, choose the tab Automation. Click "Add class" and choose "From a type lybrary...". Browse the tlb file generated for your ATL. Where you want to use your object, just instanciate the generated class and go on. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top