Bar2DAsk and Bar2DAskEx

int WINAPI Bar2DAsk( NULL,LPINT lpEnable);
int WINAPI Bar2DAskEx( NULL,LPINT lpEnable);

These calls display a dialog box that allows the barcode properties to be selected. Pushing the OK button in the dialog stores the selected barcode properties in the embedded BARCODE2D structure. If the lpEnable parameter points to a non-zero value the parameters are stored and will be available for future runs of the calling program; if the lpEnable parameter points to a zero value the data is not stored and will be lost when the program terminates.

The Bar2DAsk call will load previously stored values into the embedded BARCODE2D structure if either no other values have been set (eg. by Bar2Din) or if lpEnable is non-zero.

The Bar2DAskEx call does NOT load previously stored values, and it is the programmers responsibility to ensure that the embedded BARCODE2D structure has been filled prior to calling this function.

The calls may be made from Visual Basic or Visual Basic for Applications, in which case the following Basic declaration(s) will be required in the calling program:

Private Declare Function Bar2DAsk Lib "Dls2d4" (ByVal xx$, ByRef en As Long) As Long

 

More:

Bar2DAsk2