BarAsk()

- displays a dialog box allowing the user to specify the default barcode characteristics to be used for subsequent barcodes

Declared for C as

int WINAPI BarAsk(LPSTR szIn, LPINT ie);

where szIn is a pointer to a string containing the text which will be displayed in the data section of the dialog box;  this text is NOT stored as default barcode data.

ie is a pointer to an integer that enable the barcode data box in the dialog if non zero (enabling the user to change the value). If ie is 0 then the barcode data box is disabled.

 

The parameters that may be set using the dialog box are:

Auto check digit – if checked then barcodes will have their check digits calculated automatically

Wide bars – if checked then barcodes that allow a variation in the wide/narrow bar ratio will be created with a ratio of 3:1. If uncheck the default value of 2:1 is used.

Extra 1 and Extra 2 – these boxes allow specific properties for barcodes to be specified – see the Barcodes Help for the effects on specific barcode types.

Barcode font – the name and size of the barcode font used to generate the barcode may be selected by pushing the Change button. The Size may be specified EITHER by selecting the height of the barcode font in points (just like any other font) OR by entering the X unit (thickness of the thinnest bar) value in mils (thousandths of an inch).

Basic declaration

Private Declare Function BarAsk Lib "dlunif" (ByVal szIn As String, ByRef n As Long) As Long

 

More:

BarCdvs()