Listboxes and Events

BlitzPlus Forums/BlitzPlus Programming/Listboxes and Events

Hi everyone, I'm trying to capture event data from within a Listbox, but Blitzplus seems to be unable to send me the results of key presses and mouse clicks natively.

Basically I am writing a front end to WinUae that points to a folder of adf files, and displays all the games in a listbox. I want to be able to use the cursor keys to move up and down in the list box (as already works), but I also want the space key to run a certain command, maybe f1, f2 to run the emu with different confutations for example.

Also, I want to be able to detect a right click in the list box. Everything else I have tried works fine in other areas of the GUI, but the list box.

Can anyone help?