Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Refresh a window
#1
There exist cases, when several windows are open, that the content of one of them becomes corrupted. Is there any way to refresh – repaint this window? Sometimes, by minimising (min) and restoring (res) it works. But this is not the case always.
Thanks in advance
Simos
#2
[deleted]
#3
Dear Gintaras,

Many thanks, I will try it and I will let you know accordingly.

Best regards

Simos
#4
That will not work. Use this.

Macro Macro1439
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
int w1=win(mouse)
RedrawWindow(w1 0 0 RDW_INVALIDATE|RDW_ERASE|RDW_ALLCHILDREN|RDW_FRAME)
#5
Dear Gintaras,

Thanks, it works.

Best Regards

Simos


Forum Jump:


Users browsing this thread: 1 Guest(s)