Re: Flicker-free Drawing? (Additional Info)
Well, I tried using SendMessage(WM_SETREDRAW), but this isn't doing what I need.
The problem occurs in a multithreaded app.
Each thread has a progress bar associated w/ it. As the thread progresses, so does the progress bar(!)
However, in win95, the progressbar flickers after each refresh.
In WinNT, it doesn't.
I'm not using a "real" mscomctrl progress bar, but rather Steve Butler's enchanced progress bar (w/ text overlay). Found at:
http://www.pncl.co.uk/~sbutler/activex.htm (also under OCX Controls on codeguru)
Any ideas?
Re: Flicker-free Drawing? (Additional Info)
Your MFC code for the API LockWindow works the same way in VB... But it would be kinda useless to use it on a progress bar. I'm pretty sure that there really isn't anything you can do about it, its the controls fault. I think there is a flicker free CCRP progress bar that isn't supposed to flicker.