This function sets a new window name. It should be called when the window dialog lies in the background and the user tops a new document window.
Declaration:
WORD pdlg_update( PRN_DIALOG *prn_dialog, BYTE *document_name );
Call:
pdlg_update( prn_dialog, "Untitled #1" );
Variable Argument Meaning
Inputs:
contrl[0] 205 pdlg_set
contrl[1] 1 Entries in intin
contrl[3] 3 Entries in addrin
intin[0] 2 pdlg_update
addrin[0] prn_dialog Pointer to management structure
addrin[1] 0 Reserved (must be 0!)
addrin[2] document_name New document name
Outputs:
contrl[2] 1 Entries in intout
contrl[4] 0 Entries in addrout
intout[0] 0/1 0: Error
1: All OK