Require help with combobox problem
Posted: Mon Aug 09, 2004 8:15 pm
I am using PureBasic to place windows gadgets in a Blitz window.
I can detect the state of a combobox gadget, but can't really receive the events. I am using comboboxes to list textures and other things. Every time the combobox is changed, a new texture may be loaded, which takes a few seconds.
The problem is that PureBasic is changing the gadget state even while the combobox is open. This means that as you move the mouse down the combobox, each item you pass over slows the program down.
I need to be able to see if a combobox is open or closed, and only then compare the state to the last state recorded, and see if I need to load a new texture.
If anyone knows how to do this, please say so. Thanks.
I can detect the state of a combobox gadget, but can't really receive the events. I am using comboboxes to list textures and other things. Every time the combobox is changed, a new texture may be loaded, which takes a few seconds.
The problem is that PureBasic is changing the gadget state even while the combobox is open. This means that as you move the mouse down the combobox, each item you pass over slows the program down.
I need to be able to see if a combobox is open or closed, and only then compare the state to the last state recorded, and see if I need to load a new texture.
If anyone knows how to do this, please say so. Thanks.