Menu

CIndirectDialogImpl regression?

2014-04-17
2014-04-18
  • Nikolay Mladenov

    class Dialog : public
    CIndirectDialogImpl<Dialog,CMemDlgTemplateT<CNullTraits>,
    ATL::CAxDialogImpl<Dialog, ATL::CWindow=""> >....

    no longer compiles with 9.0RC2 (was compiling with 8.1).

    Is that intentional?

    Thanks,

    Nikolay

     

    Last edit: Nikolay Mladenov 2014-04-17
  • Nikolay Mladenov

    Oh, it seems this is not going to work anyway since CAxDialogImpl expects to find the dialog template in the resources.

     
  • Nikolay Mladenov

    AddControl(CAxWindow2::GetWndClassName(),ctrl_id,....

    plus

    CAxWindow2(GetDlgItem(ctrl_id)).CreateControlLic(.... during OnInitDialog

    worked for me,

    Thanks

     

    Last edit: Nikolay Mladenov 2014-04-18

Log in to post a comment.