As I noticed there's no event when user deselects a listbox item. But I need it to do the following:
I've a window and a listbox and a button in it and I want to enable the button when user selects an item and to disable the button when user deselects the item. I guessed there's an event with source=listbox, data=-1 and id=EVENT_GADGETACTION when user deselects a listbox item, but it isn't. So, how else can I do something like this?
I've a window and a listbox and a button in it and I want to enable the button when user selects an item and to disable the button when user deselects the item. I guessed there's an event with source=listbox, data=-1 and id=EVENT_GADGETACTION when user deselects a listbox item, but it isn't. So, how else can I do something like this?