CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    1

    Property Sheets/Pages

    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 ?


  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: Property Sheets/Pages

    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.




  3. #3
    Guest

    Re: Property Sheets/Pages

    Yes, this have solved the problem, lot's of 10x.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured