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

    i really need help here...

    How do i do logic operations on my images? I'm using VC++ . Do i have to delete the header files like they do in VB?


  2. #2
    Join Date
    May 1999
    Posts
    7

    Re: i really need help here...

    I don't exactly know what you mean with "images", but if you mean bitmaps, try the functions of the CDC-Class of MFC (BitBlt() or PatBlt()...)



  3. #3
    Guest

    Re: i really need help here...

    yeah i'm using a bitmap image. Will it work if i use other formats like gif, jpg and png as well?


  4. #4
    Join Date
    Apr 1999
    Posts
    37

    Re: i really need help here...

    LPBITMAPINFO lpBitmapInfo = (LPBITMAPINFO)yourDib;
    BYTE* imageBits = (BYTE*)&lpBitmapInfo->bmiColors[lpBitmapInfo->bmiHeader.biClrUsed];



  5. #5
    Join Date
    May 1999
    Posts
    7

    Re: i really need help here...

    I don't think so, CDC only offers functions for bitmap images, because Windows only uses bitmaps for display


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