I was gotcha’d by trying to enable the “print pages” bit of the dialog (by setting the .flags to allow specific page numbers) – without setting FromPage and ToPage first. This results in the call to OpenDialog returning immediately, presumably in an error state that I didn’t (know how to) detect. |