These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Selecting MDI mode programmatically

hoyawildcat
Registered: Mar 22 2007
Posts: 42

I have a VB6 app that opens an Acrobat window (OpenInWindowEx) within a small frame in the app window. However, with Acrobat 8, Acrobat fills the entire application window. I think this is because Acrobat is in SDI mode (e.g. AcroApp.SetFrame has no effect). I have changed Acrobat to MDI mode (uncheck "Show each document in its own window" in Preferences> Documents) but that doesn't help: Acrobat continues to fill my entire app window. What can I do to fix this? Is there any way to select MDI mode programmatically?

My Product Information:
Acrobat Standard 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
I don't think so. Notice that you can't just change from SDI to MDI mode. You have to restart Acrobat to change modes so scripting won't help you. However, this setting is stored in the registry. If you can find and change the registry location, then you could control how Acrobat starts up.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script