none
Cancelling a XPS print is not behaving in user friendly manner. RRS feed

  • Question

  • http://windowshelp.microsoft.com/Windows/en-US/help/3847e058-6e00-43e7-b642-3a2eed063c231033.mspx

    Generated code for print.
    When OK is clicked in Print dialog after selecting XPS file printing, two windows are bieng popped one window is titled as " Printing" with text "Page 1 of document".. and one save As dialog which prompts from xps file name. Instead of providing file name, If I click cancel in "Printing" Window, Printing window text changed to "Canelling print" for ever until user enter some xps file name or clicks some where.My question is how to close both the window if user clicks on cancel in "Printing window".
    Note : i'm using .NetFramework 2.0 with visual Studio 2008 in a windows XP sp2 machine.

    Making "Printing" window visibilty to false will also solved my problem but how to hide it. 
    or
    Making SaveAs file dialog as Modal also solves my problem. How to make it as modal??

    Thanks in Advance.
    Tuesday, August 4, 2009 9:50 AM