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. Fading black the screen

Fading black the screen

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsgame-devalgorithmsquestion
3 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
    hkulten
    wrote on last edited by
    #1

    Hi All, I am searching for a way to fading black the entire screen to do some effects. Is this possible to programmatically control contrast and luminosity with the graphic card (maybe DirectX?) or to fade to black the desktop window? :confused: Thanks. :)

    R 1 Reply Last reply
    0
    • H hkulten

      Hi All, I am searching for a way to fading black the entire screen to do some effects. Is this possible to programmatically control contrast and luminosity with the graphic card (maybe DirectX?) or to fade to black the desktop window? :confused: Thanks. :)

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      One way to do this is to overlay the desktop with a new window (that paints itself black). Then, change the transparency of that window from completely transparent to completely opaque. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

      H 1 Reply Last reply
      0
      • R Ravi Bhavnani

        One way to do this is to overlay the desktop with a new window (that paints itself black). Then, change the transparency of that window from completely transparent to completely opaque. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

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

        In fact, I had this solution in mind, but I wanted to know if another way could exist. Thanks for your reply. :)

        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