I am using a PureBasic DLL to add gadgets to a Blitz3D window.
My ability to detect events is compromised, but I am still able to get a gadget's state. The problem is that when a combobox gadget is pulled open, even running the mouse over an item changes the gadget state. I don't want to go making changes every time the mouse moves, I only want to make changes once the combobox is closed and the new item selected. Is there any way to tell the opn/close state of a combobox gadget?
Thanks.
How to tell if a combobox gadget is "open" or clos
-
Edwin Knoppert
- Addict

- Posts: 1073
- Joined: Fri Apr 25, 2003 11:13 pm
- Location: Netherlands
- Contact:
He's not making a wrapper DLL, he uses PB to draw the controls/interface and Blitz3D to display 3D graphics. The 2 communicate to give a Windows interface with great 3D graphics.
A very simple way to use comboboxes is to get the current text and store it in a variable. Next time combobox is triggered, get text and compare to last text. If it's the same... do nothing. If text has changed, then user has selected something new
A very simple way to use comboboxes is to get the current text and store it in a variable. Next time combobox is triggered, get text and compare to last text. If it's the same... do nothing. If text has changed, then user has selected something new



