LockWindowUpdate () Simulation
Hi Folks, I am researching a way to simulate LockWindowUpdate
(). Why not simply use the real thing you ask? Simple, I don't
want to run the risk of another application unlocking what I
locked (due to the limitation of only being able to have 1 window
locked at a time). I have considered the idea of subclassing,
capturing a DC with SaveDC (), and then calling RestoreDC (),
everytime a painting message gets intercepted. Of course this
is just hypothetical. If anyone has additional ideas (or experience
on the subject) then by all means let me know. In case you
are wondering, my target object is an owner-draw ListBox... so
subclassing is already readily accessible.
Thanks,
-CC