"Generation Previews" icon

  • Thread starter Thread starter Marco
  • Start date Start date
M

Marco

Hi, I've noticed that whenever I'm doing a print preview (and probably doing
a regular print) with a lot of pages a window pops up counting the number of
pages that it's processed so far. I don't have a problem with the window
but I don't like how it's using the default icon for itself in the taskbar.
Is there some way to override that window so that it doesn't show up in the
taskbar or to at least modify it's icon?
 
Hi,

The printdocument and printpreviewdialog display a
printprintcontroller class. To change the behaviour you need to change the
printcontroller. To do this create a class that inherits from
standardprintcontroller.

To supress the window use the standard print controller.

PrintDocument1.PrintController = New
System.Drawing.Printing.StandardPrintController

PrintDocument1.Print()



Ken
 
Thank you.


Ken Tucker said:
Hi,

The printdocument and printpreviewdialog display a
printprintcontroller class. To change the behaviour you need to change
the printcontroller. To do this create a class that inherits from
standardprintcontroller.

To supress the window use the standard print controller.

PrintDocument1.PrintController = New
System.Drawing.Printing.StandardPrintController

PrintDocument1.Print()



Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top