I have a screen with say 20 controls on it. I want to show all twenty, then hide only the ones that don't relate to what I'm working on.
psudoCode.
for each element
show element
for each element in hide list
hide element.
My problem is that between the loops the screen paints. It looks very ugly.
I know I've seen this done but for the life of me I can't find that code, or even remember what app I'd seen that code in..
Does anyone know how to suspend the paint for a bit?