Results 1 to 2 of 2

Thread: How To: Using BitBlt with a timer

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    Ok here goes,

    I 'm using a timer control together with the Bitblt winapi call, the only problem is; if the window doint the bitblt-ing is not the window with the focus and that window is covered by another, whatever is on the screen at the location that i am bitblt-ing is sent instead of the the data on my window.

    Any ideas?


  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    It depends what you're trying to do, you can't bitblt the window's client area unless the window's on top, fact is the hidden part of the client area just isn't there in memory,you can get the bitmap ot of the dc using select object, and but it in a memory dc, remembering to put it back so you have the same bitmap in the 2 DCs then bitblt from your memory dc but I don't know if this'll work or you could bring the window to the top.

    Hope this helps

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