Embedding PDF document in MFC application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jothivel
    New Member
    • Mar 2012
    • 12

    Embedding PDF document in MFC application

    Hi Guys,

    As per my requirement, I need to embed the PDF file inside MFC dialog. I have one push button, Once I click the button, one predefined pdf file has to embed inside the MFC dialog with password protection. Please anyone tell me how to embedded the PDF file inside MFC dialog.

    Thanks.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Would you not override CDialog::OnInit Dialog() and read in your pdf file? That is your dialog would be created by your class deriving from CDialog.

    Comment

    • jothivel
      New Member
      • Mar 2012
      • 12

      #3
      Thanks for your response.

      But actually I dont want to read the pdf file content and put back to dialog. I would like to know any existing library or activeX control are available to do this job?

      Thanks.

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        If you don't read the pdf file into memory controlled by your program, then I don't know what you mean by "embed inside the MFC dialog".

        Comment

        Working...