PESetDialogParentWindow

Use PESetDialogParentWindow to set the handle for the parent window of CRPE dialog boxes (that is, Print Progress dialog box).

C Syntax
BOOL CRPE_API PESetDialogParentWindow (
        short printJob,
        HWND parentWindow );
Parameters

printJob

Specifies the print job for which you want to specify a parent window.

parentWindow

Specifies the handle of the parent window.

Returns
VB Syntax

VB Sample Code for Custom Print Link

Declare Function PESetDialogParentWindow Lib "crpe32.dll" (ByVal 
printJob _
        As Integer, ByVal parentWindow As Long) As Integer
Delphi Syntax
function PESetDialogParentWindow (
    printJob: Word;
    parentWindow: HWnd
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com