how can i create an empty DC with window size?
(for i use bitblt().... i try CreateCompatibleDC() with CreateCompatibleBitmap() SelectObject() but seems not working... because the bitblt() don't give me results:()
Printable View
how can i create an empty DC with window size?
(for i use bitblt().... i try CreateCompatibleDC() with CreateCompatibleBitmap() SelectObject() but seems not working... because the bitblt() don't give me results:()
You have to select an hBitmap into a Dc for to set its size. Create an hBitmap the same size as your screen and then use SelectObject to place it into the Dc.