CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Location
    Netherlands, The
    Posts
    2,184

    BitBlt (im new to this :) )

    hi. when i use bitblt inside WM_PAINT msg, it doesnt paint in the whole area of the DC. and this causes to even take the image through the parent window... im drawing onto a static ctrl.

    how can i fix that area, to draw the parent window (transparent).

    here is the image :

  2. #2
    Join Date
    Jun 2005
    Posts
    1,255

    Smile Re: BitBlt (im new to this :) )

    It's hard to tell without looking at your code.

    Maybe the handle of the window is not correct.
    Maybe BeginPaint() EndPaint() are not called.
    Maybe the display context is not correct.
    Maybe the arguments of BitBlt() is not correct.

    Have you already successfully used BitBlt() to paint in the client area of your window without transparency?

  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: BitBlt (im new to this :) )

    Quote Originally Posted by Mitsukai
    how can i fix that area, to draw the parent window (transparent).
    Debug your code.

    Seriously, how can anyone know what you're doing without seeing your code, what you've attempted, what the values of the call to BitBlt are, etc.?

    Regards,

    Paul McKenzie

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

Featured