I am using UltraWinGrid's print() method to print the grid rows. But when the statement grid1.Print() is executed a dialog box with a cancel button appears for few seconds. If I click cancel on that dialog, is there is a way to know if that cancel button is clicked or not clicked. This is because I wanted to display a success message if printed or print cancel message if orint is cancelled.
Thanks,
Sindhu
Hi Sudhu,
I took a look and I don't see any way to do this. That dialog with the cancel button does not come from the grid directly, it's coming from the PrintDocument. And the PrintDocument class does not appear to expose any way to detect when the printing is cancelled.