PDA

Click to See Complete Forum and Search --> : BitBlt on MDI Forms


Geoff Gunson
Jan 31st, 2000, 09:52 PM
Hi

I have developed some code which can tile pictures, on a standard form it works fine but on a MDI form the form stays blank. I have used getDC with the MDI's hWnd to get a Device Context.

BitBlt returns success so is there something I am not doing?

Any Ideas?

Thanks for your time.

Geoff :)

Fox
Feb 1st, 2000, 07:52 PM
No need to get the DC using the hWnd, the MDI form has a hDC which is the same.

I never did MDI apllications, but could be that you set Autoredraw to True, that wouldn't work.

Hope this helps.

Fox

------------------
fox_mccloud@gmx.net
...
Every program can be reduced to one instruction which doesn't work.