This program is inspired by ask from @Mad Axeman:
Is there a menu function with a display similar to _InputBox$ and _MessageBox ?
Here is something like this. In addition, it allows quick search for an item by text in the upper part. Scrolling with the mouse wheel, arrows. Because it uses CallBack functions, it is in DLL (easier work). The return value is the index number. (The first line is zero index (based 0) or 1 index (based 1) .
The text is passed to the function in a string, where individual items are separated by CHR$(10) and after the last item there must be CHR$(0)! - if you do not put it there (CHR$(0)), the last item can be spread over multiple lines!
The ZIP file contains BAS program, 32 and 64 bit DLL and source code for DLL in C. Compiled via cl.
Is there a menu function with a display similar to _InputBox$ and _MessageBox ?
Here is something like this. In addition, it allows quick search for an item by text in the upper part. Scrolling with the mouse wheel, arrows. Because it uses CallBack functions, it is in DLL (easier work). The return value is the index number. (The first line is zero index (based 0) or 1 index (based 1) .
The text is passed to the function in a string, where individual items are separated by CHR$(10) and after the last item there must be CHR$(0)! - if you do not put it there (CHR$(0)), the last item can be spread over multiple lines!
The ZIP file contains BAS program, 32 and 64 bit DLL and source code for DLL in C. Compiled via cl.

