Posts: 1,058
	Threads: 367
	Joined: Oct 2007
	
	
 
	
	
		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
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12,239
	Threads: 144
	Joined: Dec 2002
	
	
 
 
	
	
	
		
	Posts: 1,058
	Threads: 367
	Joined: Oct 2007
	
	
 
	
	
		Dear Gintaras,
Many thanks, I will try it and I will let you know accordingly.
Best regards
Simos
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12,239
	Threads: 144
	Joined: Dec 2002
	
	
 
	
	
		That will not work. Use this.
Macro 
Macro1439 
Trigger 
F12      
int w1=win(mouse)
RedrawWindow(w1 0 0 RDW_INVALIDATE|RDW_ERASE|RDW_ALLCHILDREN|RDW_FRAME)
 
 
	
	
	
		
	Posts: 1,058
	Threads: 367
	Joined: Oct 2007
	
	
 
	
	
		Dear Gintaras,
Thanks, it works.
Best Regards
Simos