I am currently playing with userdrawn list controls, and trying to some simple things such as filling the background with a pattern, and drawing the contents myself etc.
So for a part of this I have implemented a OnEraseBackground method, and do *stuff* in there for want of a better phrase.
When performing this drawing, it seems to be using an offscreen buffer and then blitting it in afterwards. What I ideally want to be able to do is step through the code, and see the drawing updates (i.e. fill region, draw line etc) as they happen. I did stumble on a cludge that allowed me to do this (just by getting the view again seemed to force a repaint to the screen, but that has stopped working now).
Does anybody know how I can *force* updates directly to the screen from within any method?
Thanks,
<< JOC >>
So for a part of this I have implemented a OnEraseBackground method, and do *stuff* in there for want of a better phrase.
When performing this drawing, it seems to be using an offscreen buffer and then blitting it in afterwards. What I ideally want to be able to do is step through the code, and see the drawing updates (i.e. fill region, draw line etc) as they happen. I did stumble on a cludge that allowed me to do this (just by getting the view again seemed to force a repaint to the screen, but that has stopped working now).
Does anybody know how I can *force* updates directly to the screen from within any method?
Thanks,
<< JOC >>