SetPreviewWindow

 

Enables or disables the preview window. The preview window lets the user review the printed document and optionally cancel the print job.

 

SetPreviewWindow (pDevMode As Long, bEnable As Boolean) As Boolean

 

Input value pDevMode:

- handle to the BlackIceDEVMODE.

Input value bEnable:

- set to TRUE to enable the feature, set to FALSE to disable it.

Return value

- TRUE on success, otherwise FALSE.

 

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.