 |
PrintDlgEx ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The PrintDlgEx function displays a Print property sheet that enables the user to specify the properties of a particular print job. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HRESULT PrintDlgEx(
LPPRINTDLGEX lppd
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER PrintDlgEx IN comdlg32;
STRING @lppd
|
 |
 |
 |
| Parameters: |
 |
lppd
[in, out] Pointer to a PRINTDLGEX structure that contains information used to initialize the property sheet. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is S_OK (0). |
 |
 |
| Usage: |
 |
nResult = PrintDlgEx(@cPrintDlgEx)
|
 |
 |
| My comment: |
 |
The Print property sheet has the General page with controls similar to the Print dialog box.

The property sheet can also have additional application-specific and driver-specific property pages following the General page.
When the PrintDlgEx returns, the PRINTDLGEX structure contains information about the user`s selections.
On successful return the dwResultAction member of the PRINTDLGEX structure contains one of the following values: PD_RESULT_APPLY, PD_RESULT_CANCEL, PD_RESULT_PRINT.
See also: PrintDlg, DocumentProperties |
 |
 |
| Word Index links for the PrintDlgEx : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2007-10-04 15:28:44 | | Modified: | 2009-09-23 12:16:16 | Visited in last 7 days: 28 |