Click to See Complete Forum and Search --> : Embedding ActiveX controls without MFC


CapGM
April 14th, 2003, 06:51 AM
Hi,

I am trying to develop an application which has a clear BE-FE distinction. Inorder to keep the FE layer of my application as "thin" as possible I intend to create display windows required by my application within the BE of my application. So far I do not have any problems in doing so.

However Now I want to make the display windows of my application more extensible. Basically I want to allow other users of my application to customize the displaywindows by say for example embedding some OLE or ActiveX control within the segment.

For the reason of trying out how easy/difficult this could be, I want to embed the standard calendar control as part of my display window.

I would like to know from you as to how I can embed a OCX into my displaywindow from the BE as there are no MFC calls like CreateControl,etc available to me.

Desperately waiting to hear something from you all,
Thanks in advance,
CapGM