CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Jul 2009
    Posts
    14

    Angry creating a frame

    hi all!
    i'm trying to create something like a frame so i made

    Code:
    HDC hdc2 = CreateCompatibleDC(hdc);
    //draw on hdc2
    BitBlt(hdc, 44, 59, 193, 87, hdc2, 0, 0, SRCCOPY);
    where hdc is the main hdc retrieved by hdc = BeginPaint(hWnd, &ps);
    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

    tnx!
    Last edited by EvIl_DeViL; March 21st, 2010 at 01:16 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured