Use PECloseWindow to close the preview window. Use this function as part of a Custom
void CRPE_API PECloseWindow (
short printJob );
Specifies the print job for which you want to close the preview window. |
The preview window will not be closed if it is busy (generating pages, reading records, etc.).
Declare Sub PECloseWindow Lib "crpe32.dll" ( ByVal printJob As Integer )
procedure PECloseWindow (
printJob: Word
)stdcall;
EXTERN CVOID PECloseWindow (CWORD) CRPE.DLL
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |