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. Draw on desktop

Draw on desktop

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelptutoriallearning
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.
  • C Offline
    C Offline
    capint
    wrote on last edited by
    #1

    I want to draw a calendar on desktop. I use SPI_GETDESKWALLPAPER & SPI_SETDESKWALLPAPER to get & set the wallpaper. But I don't know how to create a bitmap with a specific path & how to copy a bitmap to another bitmap so that we can save the previous desktop. Until now, I just add bitmap to resource & use. So, I don't know how to do. S:rose:ome one plz help me ...

    N 1 Reply Last reply
    0
    • C capint

      I want to draw a calendar on desktop. I use SPI_GETDESKWALLPAPER & SPI_SETDESKWALLPAPER to get & set the wallpaper. But I don't know how to create a bitmap with a specific path & how to copy a bitmap to another bitmap so that we can save the previous desktop. Until now, I just add bitmap to resource & use. So, I don't know how to do. S:rose:ome one plz help me ...

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Take a look here[^] Edit: Changed Link with more precise search

      Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

      modified on Sunday, May 18, 2008 6:36 AM

      C 1 Reply Last reply
      0
      • N Nelek

        Take a look here[^] Edit: Changed Link with more precise search

        Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

        modified on Sunday, May 18, 2008 6:36 AM

        C Offline
        C Offline
        capint
        wrote on last edited by
        #3

        If I can find, I won't ask you :sigh:

        N 1 Reply Last reply
        0
        • C capint

          If I can find, I won't ask you :sigh:

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #4

          capint wrote:

          If I can find, I won't ask you

          If you don't say you have already searched we can not adivinate it. By the way, in that results there are articles that use some things that you will need to make what you want. Just to explain all is a bit large to be done at once. Take a look on the articles, make tests and ask when you have problem in one section. You will easily get the help asking something concrete that you can't solve that something with so much information to be given as your first post.

          capint wrote:

          how to copy a bitmap to another bitmap so that we can save the previous desktop

          Take a look into the articles 2,3 and 4 of the search results I gave you. Make a screenshot can be more or less the same as getting the bitmap of the desktop.

          Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

          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