by Mayhew » Wed Feb 24, 2016 5:31 pm
Okay, I just wanted to be sure there wasn't any callback API I was missing.
My solution was to wait for OnPaint calls to settle down. After a set number of calls or a specific amount of time expires, I just invalidate and wait for the next OnPaint and process the buffer. This seems to work pretty well.