CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    How can I change gamma of the screen form bright to dark-transparent (the way shutdown does)

    thank you


  2. #2
    Join Date
    May 1999
    Posts
    26

    Re: How can I change gamma of the screen form bright to dark-transparent (the way shutdown does)

    Maybe it doesn't change the gamma, but instead it paints all over the screen a small grid of grey pixels. I'm just guessing, i always thought it did it that way. (look at the shutdown dialog, it is not grayed)

    Anyway, i have no clue on how to do it.


  3. #3
    Join Date
    Oct 1999
    Location
    WA
    Posts
    2,393

    Re: How can I change gamma of the screen form bright to dark-transparent (the way shutdown does)

    Create a chess-board like pattern brush, use SRCAND ROP with it to mask off half of the pixels; use SRCPAINT with a gray color to draw the gray color.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured