Hi, the idea is similar to what happens with a spin control, one press the button and the number start changing until one depress it. I am trying to understand how one can create a control that updates its values without creating a timer and polling the states of the input devices.
In particular I've created a graph editor and I want to pan the area when the mouse is near the borders.
Thanks
Constant value update
Re: Constant value update
Hi,
I don't think you can achieve that without a timer. However you don't need to use polling, you can just start the timer when the mouse is pressed and stop it when the mouse is released
I don't think you can achieve that without a timer. However you don't need to use polling, you can just start the timer when the mouse is pressed and stop it when the mouse is released
"Keyboard not detected. Press F1 to continue"
-- Windows
-- Windows
Re: Constant value update
There's also wxIdleEvent which may come in handy