Hi,
When I open new window over other window and then I close new window then some controls
on the 2nd window are not correctly shown. How can I redraw window to correct state ?
Thanks
sounds like you don't have your windows set up properly but without any code to look at I can't help you.
LarryMc
There is only one case in which controls are not show properly and that is static control.
If you have static control that is predimensioned i mean content of static is smaller then
control dimension then this static control is not showed properly.
Hi,
You are right that problem is with STATIC control only - but interesting is that it is only in W XP - in W 7 this problem
is not. Sometimes are STATICs only like black square. I tested some dimensions for STATIC but the result the same. It there other solution ?
Some redraw window ?
Thanks
Based on your code, if it was me, I'd use 3x instead of what you are using.
LarryMc
Sorry,
But your answer is a bit difficult for me. Please can you a bit more explain.
Thanks
I find only problem in dimensions,so try this :
'properly dimensioned
CONTROL w1,@STATIC,"Static",80,50,60,12,0x5000010B,1
SETFONT w1,"ms sans serif",8,400,0,1
'not properly dimensioned
CONTROL w1,@STATIC,"Static",80,100,80,20,0x5000010B,2
SETFONT w1,"ms sans serif",8,400,0,2
...and you will see difference
Quote from: paja on February 17, 2011, 12:02:59 PM
Sorry,
But your answer is a bit difficult for me. Please can you a bit more explain.
Thanks
That shows how hard it is to help you without seeing how your code is written.
LarryMc