Thanks in advance. I am trying to figure out how to create a not to
complicated Photo Slider in wxpython, this probably just came into my mind
this saturday evening. First of all i tried to search for how i can use the
wxpython Timer as is the only and only way we can create some moving object,
and probably i want to port to photo sliding. I fell into some tutorial
which figured out how to use timer and move user own drawn line. I did the
stuff pratically, But here came a problem, when I Maximize the Whole
Application, the Moving Line stops Moving. I tried Incrementing and
Decrementing the Timer Interval but all in pain cause there was no change.
I thought may i could capture the maximize event inside of a timer such that
when the windows is maximized the object is notified and just keeps moving
not stopping, but i can't probably get this event.
Thanks in advance. I am trying to figure out how to create a not to
complicated Photo Slider in wxpython, this probably just came into my mind
this saturday evening. First of all i tried to search for how i can use the
wxpython Timer as is the only and only way we can create some moving object,
and probably i want to port to photo sliding. I fell into some tutorial
which figured out how to use timer and move user own drawn line. I did the
stuff pratically, But here came a problem, when I Maximize the Whole
Application, the Moving Line stops Moving. I tried Incrementing and
Decrementing the Timer Interval but all in pain cause there was no change.
I thought may i could capture the maximize event inside of a timer such that
when the windows is maximized the object is notified and just keeps moving
not stopping, but i can't probably get this event.
You should not save the PaintDC, but rather create a new one each time you get a paint event. Instead of calling your paint handler from the timer handler you can call one of the Refresh methods, which will then trigger a new paint event for you.