BiSetUserToolItemForPrintGUI

Description         This method called for initialization of the user toolbar buttons. This method allowed after calling BiInitPrintExtGUI method and before displaying the printing preview dialog. The maximum button number on the toolbar is 21. If more button is defined, the user buttons won’t be displayed on the toolbar.

Syntax                 RetVal = [BiAdvPrn.]BiSetUserToolItemForPrintGUI Num ToolTip Bitmap

Returns               RetVal                    BOOL             TRUE on success, otherwise FALSE.

Remarks             Num                       Short               Zero based integer. Num-th toolbar button will be specified.

                            ToolTip                  String              ToolTip of the button..

                            Bitmap                   LONGLONG Handle of the bitmap for button. The bitmap size must be 17x16 pixels, otherwise the button won’t be displayed.

See Also              BiSetUserMenuItemForPrintGUI Method