Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
This commit is contained in:
parent
0406a08cdc
commit
077239414e
|
@ -890,6 +890,11 @@ static BOOL PRINTDLG_ValidateAndDuplicateSettings(HWND hDlg,
|
|||
}
|
||||
}
|
||||
|
||||
/* set DC */
|
||||
if (lppd->Flags & PD_RETURNDC){
|
||||
lppd->hDC = CreateDCA(NULL, lpPi->pPrinterName, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
GlobalUnlock(lppd->hDevMode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue