This is a question concerning the PrintDlg Method of a Printer object.
When the Printer is a child of an MDI Form, an enhanced Windows Print dialog box appears (see enclosed bitmap). Four possibilities to specify the initial print range are displayed on the form: "All", “Selection", "Pages", “Current Page”.
Currently the PrintDlg flags only cover the first three options:
0 The initial print range is set to "All".
1 The initial print range is set to "Selection".
2 The initial print range is set to "Pages".
Wonder if you could enhance the PrintDlg flags to include the option “Current Page”.
Attached file: MDI PrintDlg.bmp