DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Blitting

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Blitting

    [Originally posted by John]

    'When I use Bitblt, the portions of the Hdc that has windows on top of the source window show the windows on top.
    'I've tried using Validate and invalidate Rect to make sure it paints the entire window to no avail.
    'Is there any way to get the full window even if it has windows covering it or if it's off-screen?

    'Also, do you know if it is possible to freely distribute the XML 3 Parser with my VB apps yet?

    'Oh yeah, I forgot, do you konw if there's some way to paint graphics methods on a RTB without painting on the Letters?


    thanksabunch

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Blitting

    [Originally posted by neophile]

    About the blitting, I cheat by using a cDIBSection class I downloaded from vbAccelerator.com.... but if you're determined, I'd suggest researching directly or looking for examples employing one or more of the following API functions:

    SelectObject
    DeleteObject
    DeleteDC
    ReleaseDC
    LoadImage
    GetObjectA
    CreateCompatibleBitmap

    These are what the cDIBSection uses and it works perfectly.


    About the painting over text thing, you might be able to play around with clipping polygons out of rects, but I'd just repaint the text, if possible. I don't know =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center