CMyPrintDialog::OnInitDialog() is not called in IE10 RRS feed

  • Question


    I have a class named CMyPrintDialog derived from CPrintDialog of MFC. It's used as an ActiveX in IE, and the project is linked to MFC statically. It works well in IE8 for many years. But the same binary of the project doesn't work well on IE10. The print dialog could pop up, but unfortunately its OnInitDialog is never called and causes problems. The strange thing is that if I attach the VS debugger to IE, OnInitDialog will be called correctly and the customized print dialog works well. Seems Microsoft has change something and causes the problem.

    Thursday, November 28, 2013 5:47 AM