c++ - Refreshing of image upon OnVScroll -


i trying display large data set graph. unfortunately causes flickering onpaint() called multiple times during update. , @ same time not need graph updated constantly; once upon loading program sufficient.

i found way solve overriding onerasebkgnd() return 1 everytime updates. however, side effect of when vertical scrolling, graph "cut off" if scroll far.

bringing scroll end cut-off graph, not repaint (because not redraw graph in onpaint() anymore).

in essence, looking for, method repaint graph, if , if gets "cut off", due scrolling view.

thanks!

the mfc sample in msdn named drawcli example program includes image scrolling , using off-screen bitmap eliminate flicker. works well.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -