Results 1 to 6 of 6

Thread: [Resolved] Blit this foo! (Transparency Stuff)

Threaded View

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] Blit this foo! (Transparency Stuff)

    I tried writing a TransBlt function, but it doesn't really work...

    VB Code:
    1. Private Sub TransBlt(hPicture As Long, iFromX As Integer, iFromY As Integer, _
    2.   hMask As Long, iFromMaskX As Integer, iFromMaskY As Integer, hTo As Long, _
    3.   x As Integer, y As Integer, iWidth As Integer, iHeight As Integer)
    4.  
    5.   BitBlt hTo, x, y, iWidth, iHeight, hPicture, iFromX, iFromY, vbSrcPaint
    6.   BitBlt hTo, x, y, iWidth, iHeight, hMask, iFromX, iFromY, vbSrcAnd
    7. End Sub

    Where am I going wrong?
    Last edited by The Hobo; Nov 18th, 2002 at 06:47 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

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