Results 1 to 5 of 5

Thread: Flicker with masks

  1. #1

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Flicker with masks

    I am bliting directly to the form
    like this

    VB Code:
    1. BitBlt Form1.hDC, 0, 0, 80, 65, _
    2.     Picture2.hDC, 0, 0, vbSrcAnd
    3.    
    4.     BitBlt Form1.hDC, 0, 0, 80, 65, _
    5.     Picture1.hDC, 0, 0, vbSrcPaint

    It flickers like crazy..

    I am using masking (?) but dont know how to incorporate a backbuffer.


    Any tricks?


    heres the project

    Seahag
    Attached Files Attached Files

  2. #2
    Addicted Member NOMADMAN's Avatar
    Join Date
    Aug 2002
    Location
    Closer than you think
    Posts
    237
    I have not done BitBlitting in a while but I remember there being an Autoredraw on the form and needs to be off? Or is it On? Try then both. I believe it has something to do with AutoReDraw!

    ~NOMAD

  3. #3

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    little better but still flickers

    Edit

    actually its the labels that are flickering now.

    ?
    Last edited by SeaHag; Dec 18th, 2002 at 03:14 PM.

  4. #4
    Addicted Member NOMADMAN's Avatar
    Join Date
    Aug 2002
    Location
    Closer than you think
    Posts
    237
    hmmm, I've never used both labels and blitted. Play with there AutoReDraws. Worst case make a blitting character set so you can blit your words instead of using labels.

    Not sure, I'm not at home so I can't try any of my suggestions! Sorry!
    Cheers!

    NOMAD

  5. #5

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    attached is the click and drag demo that i am having problems with..
    Need things to be transparent.

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