Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. A DIBSection wrapper for Win32 and WinCE

A DIBSection wrapper for Win32 and WinCE

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++performance
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxsrussell
    wrote on last edited by
    #1

    I am new to DIBs but am presently studying them diligently. To this point, I have been playing my EMF images into memory, using CreateCompatibleBitmap() for my image bitmaps and CreateBitmap() for my masks. My question is, does this article: "A DIBSection wrapper for Win32 and WinCE" address what I will need to do in order to incorporate DIBSections into my scheme? (I use MFC.) Thanks for any reponse.

    C 1 Reply Last reply
    0
    • M maxsrussell

      I am new to DIBs but am presently studying them diligently. To this point, I have been playing my EMF images into memory, using CreateCompatibleBitmap() for my image bitmaps and CreateBitmap() for my masks. My question is, does this article: "A DIBSection wrapper for Win32 and WinCE" address what I will need to do in order to incorporate DIBSections into my scheme? (I use MFC.) Thanks for any reponse.

      C Offline
      C Offline
      CodeBrain
      wrote on last edited by
      #2

      When I started with DIBs the MSDN article "DIBs and Their Use" was very helpful for me. It is quite old, but gives basic knowledge about how to use DIBs. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dngdi/html/msdn\_dibs2.asp I know that there is a CDIB class which wrapps the DIB API. This class has been introduced in an atricle in one of the MS development magazines. Unfortunately it is not yet part of MFC. I think you should find it if you search in the MSDN library.

      L 1 Reply Last reply
      0
      • C CodeBrain

        When I started with DIBs the MSDN article "DIBs and Their Use" was very helpful for me. It is quite old, but gives basic knowledge about how to use DIBs. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dngdi/html/msdn\_dibs2.asp I know that there is a CDIB class which wrapps the DIB API. This class has been introduced in an atricle in one of the MS development magazines. Unfortunately it is not yet part of MFC. I think you should find it if you search in the MSDN library.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Thanks a lot for the helpful tips!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups