Menu

#110 Windows XP x64 requires UseEXDialog for PrintDialog()

open
nobody
None
5
2012-09-19
2009-03-18
No

When using ZedGraph on Windows XP x64 I had to add the following code in ZedGraphControl.Printing.cs in the DoPrint() method:

    pDlg.UseEXDialog = true;

before the PrintDialog() would display. When executed without this property set to "true" the PrintDialog() never displayed and always returned DialogResult.Cancel. This may also apply to other versions of Windows and Vista.

I tested this change on Windows XP x86 and it appears to function normally.

Discussion


Log in to post a comment.