I am creating an active x control which has the view, document main frame. and i am displaying this view from my active x control. in my view i have one dialog resource which contains a custom control. the code is something like this
from the view
m_pDlg = new CMyDlg(this);
i traced into the create function it fails at CreateDialogIndirect and sends the WM_DESTROY to the dialog box.
this particular code is already exisitng but this code is working fine when instead of using the active x control it was a simple com DLL.
could you please guide me how to ractify it.
thanx in advance