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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. bitmaps

bitmaps

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 2 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.
  • H Offline
    H Offline
    halblonious
    wrote on last edited by
    #1

    I can't seem to figure out how one layers bitmaps. And, can one layer things that aren't bitmaps, like CStatics? Also, what's the best REDO/UNDO method for a publisher-like program? halblonious

    C 1 Reply Last reply
    0
    • H halblonious

      I can't seem to figure out how one layers bitmaps. And, can one layer things that aren't bitmaps, like CStatics? Also, what's the best REDO/UNDO method for a publisher-like program? halblonious

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      halblonious wrote: I can't seem to figure out how one layers bitmaps Manually, by keeping several bitmaps with transparency keys. halblonious wrote: And, can one layer things that aren't bitmaps, like CStatics? No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) halblonious wrote: Also, what's the best REDO/UNDO method for a publisher-like program? Read 'Design Patterns' for some good ideas. It's on Addison Wesley ( I forget the authors name ). Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      H 1 Reply Last reply
      0
      • C Christian Graus

        halblonious wrote: I can't seem to figure out how one layers bitmaps Manually, by keeping several bitmaps with transparency keys. halblonious wrote: And, can one layer things that aren't bitmaps, like CStatics? No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) halblonious wrote: Also, what's the best REDO/UNDO method for a publisher-like program? Read 'Design Patterns' for some good ideas. It's on Addison Wesley ( I forget the authors name ). Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        H Offline
        H Offline
        halblonious
        wrote on last edited by
        #3

        --Manually, by keeping several bitmaps with transparency keys. Where can I find how to do this? --No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? halblonious

        C 1 Reply Last reply
        0
        • H halblonious

          --Manually, by keeping several bitmaps with transparency keys. Where can I find how to do this? --No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? halblonious

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          halblonious wrote: Where can I find how to do this? If you're not supporting Windows95 you can use TransparentBlt, otherwise search the Windows Developers Journal article backlog at www.wdj.com, I have an article there that shows you how. halblonious wrote: So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? Statics are just text, so store the text, and draw it onto a bitmap and show that. Other controls, you have to worry about them getting click messages and so on as well, you should develop a control to hold other controls, display them and get them their messages properly. Sounds like hell to me. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

          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