Important: The information in this document is obsolete and should not be used for new development.
PrStlInit
To initialize aTPrDlg
record for a customized style dialog box, use thePrStlInit
function.
FUNCTION PrStlInit (hPrint: THPrint): TPPrDlg;
hPrint
- A handle to a
TPrint
record (described on page 9-41), which may be a new record or an existing one from a document.DESCRIPTION
ThePrStlInit
function returns a pointer to aTPrDlg
record (described on page 9-47) for the style dialog box defined in the resource file for the current printer driver. As described in "Altering the Style or Job Dialog Box" beginning on page 9-32, you can then alter the dialog box by adding your own items. You must use thePrDlgMain
function (described on page 9-60) to display the dialog box.You need to use
PrStlInit
only if you are customizing the default style dialog box provided by the printer driver. To initialize and display the default style dialog box, use thePrStlDialog
function, which is described on page 9-58.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePrStlInit
function are
Trap macro Selector _PrGlue $3C04040C