Results 1 to 3 of 3

Thread: MaskBlt - Error 6

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    837

    MaskBlt - Error 6

    I've been trying to use the maskblt api and nothing happens, so i called the getlasterror api and it told me that there is an invalid handle (ERROR_INVALID_HANDLE = 6&), i think its the hbmMask parameter, so can someone explain exactly whats supposed to be passed to that parameter, can't it just be the hDC of a picture box?

  2. #2
    jenk
    Guest
    try using the hWnd of the picturebox instead.

  3. #3
    Member Stef's Avatar
    Join Date
    May 2001
    Posts
    41
    Or perhaps Picture1.Picture.Handle

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