More info on what happened...(I am using your latest sources "e43c857bbbe2").
First, I was not using the "OnResize" event of my main window. So I was never "manually" calling waveformPainter.Invalidate(). I noticed by adding a call to waveformPainter.Invalidate(), in my OnWindowResize function, now the app will not have the crash as mentioned above without the fix applied. But some visual weirdness happens. After applying the fix above, the visual weirdness doesn't happen.
I'll try to throw a sample project together along with a video so show the problems I'm generating...will update this post in an hour or so ;)
↧
New Post: Possible fix to WaveformPainter? when resizing...
↧