Repaint control component question
-
Hi, in one project, there are 2 dialog windows,each dialog take the whole screen area, that is. 800 X 600. I put 2 Static text control in dialog window 1, when I switched back from dialog window 2, I found blinks in static text box, it display corresponding part picture of dialog window 2, then swap to background of dialog window 1. I think this is because static text is a child window in dialog window1. so, it's repainting action is after the repainting of dialog window 1, the parent window. But I don't know how to synchronize the repainting, or let static text be repainted before the parent window. Can somebody help me to solve it? Thanks in advance
-
Hi, in one project, there are 2 dialog windows,each dialog take the whole screen area, that is. 800 X 600. I put 2 Static text control in dialog window 1, when I switched back from dialog window 2, I found blinks in static text box, it display corresponding part picture of dialog window 2, then swap to background of dialog window 1. I think this is because static text is a child window in dialog window1. so, it's repainting action is after the repainting of dialog window 1, the parent window. But I don't know how to synchronize the repainting, or let static text be repainted before the parent window. Can somebody help me to solve it? Thanks in advance