Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File8.5.2 pdlg_add_sub_dialogs TOS Name: »Print dialog - Add private dialogs« - Add sub-dialogs to the printer dialog. Opcode: 205 (sub-opcode 3) Syntax: int16_t pdlg_add_sub_dialogs ( PRN_DIALOG *prn_dialog, PDLG_SUB *sub_dialog ); Description: The call pdlg_add_sub_dialogs permits adding an appli- cation's own sub-dialogs to the printer dialog. The following apply: Parameter Meaning prn_dialog Pointer to management structure sub_dialog List of sub-dialogs This function could be useful to add custom print options such as markers, watermarks or background images, for instance. Return value: The function returns the value 1 if all went well, else the value 0 in case of error. Availability: The presence of this function can be checked with appl_getinfo (opcode 7). Group: Print dialogs See Also: Binding WDIALOG