CommonDialog Flags?

  • Thread starter Thread starter Vax
  • Start date Start date
V

Vax

Guest
How do we get the same functionality out of the common dialogs that we got with the Flags property? I'm desperately trying to figure out how the hell to preselect the Selection option button in the print dialog, and how to check if it has been selected after the dialog box has closed, but Microsoft's Help is worthless. Any suggestions/ ideas/ clues?:(
 
Visual Basic:
        Dim myPrintDialog As New PrintDialog()
        Dim mySettings As New Drawing.Printing.PrinterSettings()

        mySettings.PrintRange = Drawing.Printing.PrintRange.Selection
        myPrintDialog.AllowSelection = True
        myPrintDialog.PrinterSettings = mySettings
        myPrintDialog.ShowDialog()
 
Back
Top