CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: bitblt woes

  1. #1
    Join Date
    Sep 1999
    Posts
    1

    bitblt woes

    I am using an API function to create a DC, which I load a picture into. Then i uses bitblt to copy parts of the picture onto a form.

    My problem is that the outputted image on the form is only in 16 colors despite the fact that the .bmp file is 24 bit. Also, my monitor is in 32 bit mode. Anyone know what im doing wrong?


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: bitblt woes

    Sounds like the DC you created doesn't support the right number of colors, it's hard to tell without seeing the whole routine.

    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

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