Jean-Claude Batista

PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
This commit is contained in:
Alexandre Julliard 2000-05-11 00:09:29 +00:00
parent 0406a08cdc
commit 077239414e
1 changed files with 5 additions and 0 deletions

View File

@ -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);