|
-
January 14th, 2003, 12:23 PM
#1
COM aggregation for a composite control
Hi,
I need your help with the following problem, please:
I have a ATL composite control which hosts an ActiveX on its dialog. Now I want the composite control (the outer) to aggregate the ActiveX on the dialog (the inner object).
Well, aggregation is quite easy for a simple object. Every example suggests to create the inner object in FinalConstruct. But for a composite control the inner object is created in OnInitDialog which is far to late for FinalConstruct.
On the other hand it is not possible to create the inner ActiveX in FinalConstruct because there exists no hosting window at this time.
Any ideas?
Thanks,
Alpha137
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|