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. Display text on desktop

Display text on desktop

Scheduled Pinned Locked Moved C / C++ / MFC
winformsgraphicsquestion
5 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.
  • B Offline
    B Offline
    Bartosz Bien
    wrote on last edited by
    #1

    I would like my NT service to transparently display dynamic text on the desktop. Preferrably with GDI+, Windows XP. Any cool ideas? :rolleyes: Regards, BB

    H A 2 Replies Last reply
    0
    • B Bartosz Bien

      I would like my NT service to transparently display dynamic text on the desktop. Preferrably with GDI+, Windows XP. Any cool ideas? :rolleyes: Regards, BB

      H Offline
      H Offline
      HPSI
      wrote on last edited by
      #2

      Method 1: Enable Active Desktop and set the Windows background to an HTML file. Method 2: Write text to a bitmap and set that bitmap to be the desktop background. HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.

      1 Reply Last reply
      0
      • B Bartosz Bien

        I would like my NT service to transparently display dynamic text on the desktop. Preferrably with GDI+, Windows XP. Any cool ideas? :rolleyes: Regards, BB

        A Offline
        A Offline
        andyj115
        wrote on last edited by
        #3

        Create a Window and modify it's region with the written text. Here you can find a great sample of a trasparent application: http://www.codeproject.com/miscctrl/transclock1.asp It's the same tecnique that somebody uses to make skin dialog/windows. So you can look at other sample too. To simulate it on the desktop, you can change the Z-Order with the SetWindowPos, so all the other windows will be above it. :cool:

        A B 2 Replies Last reply
        0
        • A andyj115

          Create a Window and modify it's region with the written text. Here you can find a great sample of a trasparent application: http://www.codeproject.com/miscctrl/transclock1.asp It's the same tecnique that somebody uses to make skin dialog/windows. So you can look at other sample too. To simulate it on the desktop, you can change the Z-Order with the SetWindowPos, so all the other windows will be above it. :cool:

          A Offline
          A Offline
          andyj115
          wrote on last edited by
          #4

          Sorry, I didn't read that your was an NT service... In that case, to keep my idea, you need a small "client" app that dialogs with the service... :suss:

          1 Reply Last reply
          0
          • A andyj115

            Create a Window and modify it's region with the written text. Here you can find a great sample of a trasparent application: http://www.codeproject.com/miscctrl/transclock1.asp It's the same tecnique that somebody uses to make skin dialog/windows. So you can look at other sample too. To simulate it on the desktop, you can change the Z-Order with the SetWindowPos, so all the other windows will be above it. :cool:

            B Offline
            B Offline
            Bartosz Bien
            wrote on last edited by
            #5

            This technique seems to suit me! Thank you very much. :cool: Regards, BB

            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