|
-
April 16th, 1999, 04:32 PM
#3
Re: Screen Capture into Clipboard?
> Check ---> hBitmap = CreateCompatibleBitmap((HDC) hDCSrc, 640, 480);
> (what type does this function return?)
It returns an HBITMAP which is what hBitmap is. But the next line:
SetClipboardData(CF_BITMAP, hBitmap) --> the 2nd param is expected to be of HANDLE type.
I pass in an HBITMAP type but if I understand the documentation correctly, this should be ok...
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
|