Home Print dialogs Calling procedure for modal print dialog PRINT DIALOG - DELETE (AES 201)

2.6.3 PRINT DIALOG - CREATE (AES 200)

CREATE initialises the print dialog. <dialog_flags> passes whether the dialog is to be displayed in 3D-look or not. On calling the function a scan will be made for the printer drivers present and memory will be allocated for the resource.

Declaration:
PRN_DIALOG *pdlg_create( int16 dialog_flags )

Call:
prn_dialog = pdlg_create( PDLG_3D );

Variable         Argument            Meaning
Inputs:

contrl[0]        200                 pdlg_create
contrl[1]        1                   Entries in intin
contrl[3]        0                   Entries in addrin

intin[0]         flags               Only 3D-flag at present

Outputs:

contrl[2]        0                   Entries in intout
contrl[4]        1                   Entries in addrout

addrout[0]       prn_dialog          Pointer to management structure

Description of <dialog_flags>:

#define  PDLG_3D     1               /* Display selection in 3D-look */


Home Print dialogs Calling procedure for modal print dialog PRINT DIALOG - DELETE (AES 201)