Erase a window background?
Erase a window background?
How do you erase a window background? (MSG_WM_ERASEBKGND)
			
			
									
									
						Not sure what your needs are, but you can try
			
			
									
									Code: Select all
RedrawWindow_(hwnd, #Null, #Null, #RDW_ERASE | RDW_INVALIDATE | #RDW_UPDATENOW)What goes around comes around.
PB 5.21 LTS (x86) - Windows 8.1
						PB 5.21 LTS (x86) - Windows 8.1
InvalidateRect_() erases a window or the whole desktop, sending a #WM_PAINT message to an ereased window.
ValidateRect_() sends #WM_ERASEBKGND and #WM_NCPAINT to the window. But I don't know what this function does, because I#ve never used it yet.
For further information, please, have a look at the MSDN.
			
			
									
									ValidateRect_() sends #WM_ERASEBKGND and #WM_NCPAINT to the window. But I don't know what this function does, because I#ve never used it yet.
For further information, please, have a look at the MSDN.
PB 4.30
						Code: Select all
onErrorGoto(?Fred)
