[net.micro.pc] MS-Windows, refresh screen portion

kierulfv@unc.UUCP (Valerie Kierulf) (11/03/86)

We are using MicroSoft Windows on the IBM-PC/AT.

For one of our applications it is necessary, to redraw a portion of
the screen which has been damaged.

We could not find a way to save a rectangular area of the screen and then
redisplay it later.

Does anybody know, how to do this? 

vali (kierulfv@unc)

warrenm@mmintl.UUCP (Warren McAllister) (11/06/86)

	You could try using the BitBlt function to copy pixels
	to a memory Display Context - the problem is that you
	need to copy your screen area to the memory DC to do this
	when Windows send you the 'repaint' (or whatever it's called)
	message - use BitBlt to copy the pixels back when the overlaid
	window disappears...

	This is just a suggestion - I have got BitBlting to work fairly
	well - despite the documentation :-]

	Let me know by EMail you you get on...