Click to See Complete Forum and Search --> : Property Sheets/Pages
tsachi
May 1st, 1999, 04:42 PM
I've created a property sheet and added few pages to it. up to here everything worked fine. when I inserted an ActiveX object into one of the property pages , I was not able to view (I think create ?) the page. Any idia what the problem is ?
BrianOG
May 4th, 1999, 10:00 AM
Can you include ActiveX control in other dialogs in your application? If not, the project was probably not create with support for ActiveX controls. To fix this you will have to add the following line to your StdAfx.h:
#include <afxdisp.h>
And add the following line to your InitInstance (in the App class)
AfxEnableControlContainer();
Outside of that, you could try debugging into the Create of your dialog and see where exactly the problem is.
Yes, this have solved the problem, lot's of 10x.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.