March 21st, 2010, 02:08 PM
creating a frame
i'm trying to create something like a frame so i made
where hdc is the main hdc retrieved by hdc = BeginPaint(hWnd, &ps);
HDC hdc2 = CreateCompatibleDC(hdc);
//draw on hdc2
BitBlt(hdc, 44, 59, 193, 87, hdc2, 0, 0, SRCCOPY);
i thought "probably i have to convert hdc2 in HBITMAP" but when i do that it seems it takes wrong pointer or lost a pair... XD
i need also hdc2 transparent.
p.s. i'm developing on windows mobile that is the same of the normal win32 unless a couple of function like createDIBitmap are not implemented
Last edited by EvIl_DeViL; March 21st, 2010 at 02:16 PM.
Tags for this Thread
Click Here to Expand Forum to Full Width