Is it possible to do a BitBlt/TransparentBitBlt to a Frame? Apparently, when I call TransparentBitBlt, it returns TRUE, but the image never appears on the screen.VB Code:
Dim hBitmap As Long Dim hDc As Long Dim hFraDc As Long ' Preparing the image hDc = CreateCompatibleDC(GetDC(0)) hFraDc = CreateCompatibleDC(GetDC(Fra.hwnd)) hBitmap = LoadImage(App.hInstance, App.Path & "\Images\po00.bmp", IMAGE_BITMAP, 64, 64, LR_LOADFROMFILE) SelectObject hDc, hBitmap MsgBox CStr(TransparentBlt(hFraDc, 5, 5, 64, 64, hDc, 0, 0, 64, 64, vbWhite)) ' <-- Returns TRUE Me.Refresh DeleteObject hBitmap


Reply With Quote
