6 Replies Latest reply: Jul 10, 2010 9:39 PM by ChromeUser RSS

    Why my dialog does not appear?

    ChromeUser Community Member

      When i using IE8 open an pdf on web under Win7, Adobe Reader has been loaded and my plugin loaded either.

      But When i click "about" button of my plugin there is no dialog popup.

      The dialog is created without any control,so it couldn't be the control matter.

      The dialog was created with MFC technology.

       

      Anyone can help me?

      thanks.

        • 1. Re: Why my dialog does not appear?
          lrosenth Adobe Employee

          You can't bring up dialogs from plugins inside of browsers.

          • 2. Re: Why my dialog does not appear?
            ChromeUser Community Member

            What do you mean "you cann't"?

            It's restriction of Adobe license or technical restriction?

            • 3. Re: Why my dialog does not appear?
              wildcathoya Community Member

              I have a plug-in that opens an MFC dialog when I right-click on an annotation in a browser, and it works with Acrobat 7, 8, and 9 in FireFox, IE, and Chrome on XP and Windows 7.  So, it is possible to open an MFC dialog in a browser.

               

              However, when I was first testing my plug-in with IE 8 on Windows 7, the dialog would not open.  (This didn't happen with FireFox, and I haven't tested Chrome on Windows 7).   It turned out to be a Windows 7 security issue that only seems to affect IE8.

               

              You can verify this by logging into Windows 7 as "Administrator" (i.e., not as yourself, even if you have Admin permissions.)  The dialog should open.  However, that is obviously not a good solution because most users will not log in as "Administrator," which is a user account that is not enabled by default.

               

              Log back in as yourself and add your website as a "Trusted site" -- Tools>>Internet Options>>Security.  Select "Trusted sites," click the "Add" button, and add your site.  That worked for me.

               

              Bill

              • 4. Re: Why my dialog does not appear?
                ChromeUser Community Member

                Thanks,bill.

                Yes, you are right.May be the key is Win7 security.

                I also tested my plugin under win7 + IE8 with adding registry key "TabProcGrowth" as 0 into HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer ->  Main.

                That's OK.

                But i don't want my customer to do any extra setting,so i have changed my dialog written by ADM dialog manager.That's Ok also.

                Most important,does adobe permit my adobe reader plugin to bring up dialog under IE?

                That's most important.

                • 5. Re: Why my dialog does not appear?
                  wildcathoya Community Member

                  Sorry, I didn't see that you were referring to Reader, and not to Acrobat. I have no personal experience with Reader plug-ins.  Adobe needs to sign-off on Reader plug-ins, but it's my understanding that your plug-in can do just about anything that it could do in Acrobat as long as it doesn't save the PDF or create comments, unless the PDF has been "reader-enabled."  Otherwise an MFC dialog should work.  However, in your latest post you said it was written with ADM while you originally said it was MFC.  My dialog is 100% Win32 (CDialog) because ADM had some technical issues and also because ADM was deprecated in Acro 6 or 7, so I don't know if an ADM dialog will work in a browser.

                   

                  Bill

                  • 6. Re: Why my dialog does not appear?
                    ChromeUser Community Member

                    I don't know what tech issues ADM have,i will check it.

                    If the dialog written by MFC working right without changing security setting or registry,i will use MFC of course.

                    Anyway, thanks again,bill.