-
May 1st, 2013, 03:39 AM
#1
Thread Starter
PowerPoster
[RESOLVED] how create an empty DC with window size?
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)
-
May 9th, 2013, 06:57 AM
#2
Re: how create an empty DC with window size?
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.
-
May 9th, 2013, 10:37 AM
#3
Thread Starter
PowerPoster
Re: how create an empty DC with window size?
Originally Posted by Niya
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.
thanks... now i understand why we need 2 hbitmap
thanks for all
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|