I'm trying to get a couple of things from a PrintDialog box: I need to know if the "All", "Pages", or "Selection" radio button has been pushed and, if the "Pages" radiobutton is pushed, what pages have been entered.
I use the following code to determine whether the OK button is pushed, but I can't find much help on the AllowPrintPages and AllowSelection properties.
PrintDocument* pdoc = new PrintDocument();
PrintDialog* pd = new PrintDialog();
pd->Document = pdoc;
if (pd->ShowDialog() == DialogResult::OK)