Show Dialog in my ActiveX?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
hello, i want to show dialog in my activex,but failed,the code is below: in the WM_CREATE map func: CDialogTest *dlg= new CDialogTest (); dlg->Create(IDD_DIALOG,NULL); dlg->ShowWindow(SW_SHOW); and i use the vc tools ole view and tested that it can popup the dialog, but i my test application,how to popup the dialog?even i use the code CActivex m_activex; m_activex.AboutBox(); to show the about dialog and i also crashed,what is the matter?please help me?