DisableTab

Disables a tab in the printing preferences window.

 

DisableTab(pDevMode As Long, dwTab As Long) As Boolean;

 

Input value: pDevMode       - pointer to the BlackIceDEVMODE structure

Input value: dwTab              - number of the tab to disable, for possible values, see the values below.

Return value - TRUE if the tab was successfully disabled, otherwise FALSE.

 

enumUITabs.UI_TAB_FILEFORMAT

(0)

enumUITabs.UI_TAB_FILENAMEGENERATION

(1)

enumUITabs.UI_TAB_STARTAPPLICATION

(2)

enumUITabs.UI_TAB_WATERMARK

(3)

enumUITabs.UI_TAB_ANNOTATION

(4)

enumUITabs.UI_TAB_BATES

(5)

enumUITabs.UI_TAB_PROFILEMANAGER

(6)

enumUITabs.UI_TAB_REDIRECTPRINTING

(7)

enumUITabs.UI_TAB_BARCODE

(8)

enumUITabs.UI_TAB_OCR

(9)

enumUITabs.UI_TAB_TEXTOUTPUT

(10)

 

The “Device settings” tab cannot be hidden and will always be displayed.

Please note, if you use the API functions EnableTab or DisableTab from the BlackIceDEVMODE dll or ActiveX control, it will override the settings of the INI file until you reinstall the driver or delete the following registry key:

HKEY_CURRENT_USER\Software\Black Ice Software LLC\<Name of the Black Ice Printer>\UI Tabs Settings