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. The Lounge
  3. Grey-out and disable the whole desktop

Grey-out and disable the whole desktop

Scheduled Pinned Locked Moved The Lounge
csharpc++jsonquestion
15 Posts 7 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.
  • L Offline
    L Offline
    LazyInNet
    wrote on last edited by
    #1

    You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

    N B T J V 5 Replies Last reply
    0
    • L LazyInNet

      You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

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

      Border line programming question, are you after the code or an explaination?

      .net is a box of never ending treasures, every day I get find another gem.

      L 1 Reply Last reply
      0
      • L LazyInNet

        You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

        B Offline
        B Offline
        benjymous
        wrote on last edited by
        #3

        From what I'm aware, it screengrabs the real desktop, creates a new fake desktop, adjusts the grab, and pastes it onto the new window (try alt-tab when you've got the shut down dialog open) Don't see any reason why you couldn't do the same in C#

        L 1 Reply Last reply
        0
        • L LazyInNet

          You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          like This[^] ?


          [VisualCalc][Binary Guide updated! ][CommDialogs new! ] | [Forums Guidelines]

          N L 2 Replies Last reply
          0
          • T toxcct

            like This[^] ?


            [VisualCalc][Binary Guide updated! ][CommDialogs new! ] | [Forums Guidelines]

            N Offline
            N Offline
            NormDroid
            wrote on last edited by
            #5

            He has posted 2 messages and is asking for code, would you feed him?

            .net is a box of never ending treasures, every day I get find another gem.

            T L 2 Replies Last reply
            0
            • N NormDroid

              He has posted 2 messages and is asking for code, would you feed him?

              .net is a box of never ending treasures, every day I get find another gem.

              T Offline
              T Offline
              tgrt
              wrote on last edited by
              #6

              At least he admits he's lazy. :doh:

              1 Reply Last reply
              0
              • L LazyInNet

                You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #7

                Why would you want to do that? That's a very specific System action, assuming you want to duplicate the same UI and visual experience, what on earth would your program do that it needs to duplicate thing? Isn't that misleading to the user?

                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                L 1 Reply Last reply
                0
                • N NormDroid

                  Border line programming question, are you after the code or an explaination?

                  .net is a box of never ending treasures, every day I get find another gem.

                  L Offline
                  L Offline
                  LazyInNet
                  wrote on last edited by
                  #8

                  Explaination please.

                  1 Reply Last reply
                  0
                  • B benjymous

                    From what I'm aware, it screengrabs the real desktop, creates a new fake desktop, adjusts the grab, and pastes it onto the new window (try alt-tab when you've got the shut down dialog open) Don't see any reason why you couldn't do the same in C#

                    L Offline
                    L Offline
                    LazyInNet
                    wrote on last edited by
                    #9

                    This could be a way to do it. Plus disabling system keys? the Windows key doesn't work when shutdown dialog open. With windows cardspace, alt-tab wouldn't work either. I guest it disabled those too... The reason I post this is that I thought there is a more convenient way to do it like a system API or something...

                    1 Reply Last reply
                    0
                    • N NormDroid

                      He has posted 2 messages and is asking for code, would you feed him?

                      .net is a box of never ending treasures, every day I get find another gem.

                      L Offline
                      L Offline
                      LazyInNet
                      wrote on last edited by
                      #10

                      I'm sorry if I made you feel that way. I'm new to the forum. Maybe I should put more explanation of what I have thought of...

                      1 Reply Last reply
                      0
                      • J Jim Crafton

                        Why would you want to do that? That's a very specific System action, assuming you want to duplicate the same UI and visual experience, what on earth would your program do that it needs to duplicate thing? Isn't that misleading to the user?

                        ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                        L Offline
                        L Offline
                        LazyInNet
                        wrote on last edited by
                        #11

                        Our business is working on a surveillance system and the interface basically takes over the entire screen. Sometimes we would like to grab user's attention / prevent user from any further interaction.

                        L J 2 Replies Last reply
                        0
                        • L LazyInNet

                          Our business is working on a surveillance system and the interface basically takes over the entire screen. Sometimes we would like to grab user's attention / prevent user from any further interaction.

                          L Offline
                          L Offline
                          LazyInNet
                          wrote on last edited by
                          #12

                          Oh, plus it's something interesting that I've always wondered about... I have thought about the screen shot method, but I thought since the shutdown window does it, and the cardspace window does it, there might be a API built in to do it... ;P

                          1 Reply Last reply
                          0
                          • T toxcct

                            like This[^] ?


                            [VisualCalc][Binary Guide updated! ][CommDialogs new! ] | [Forums Guidelines]

                            L Offline
                            L Offline
                            LazyInNet
                            wrote on last edited by
                            #13

                            Thanks toxcct, so it is the screenshot method like ben^ mentioned? I have discussed with my college before and thought about the screen shot method, but I thought since the shutdown window does it, and the cardspace window does it, there might be a API built in to do it... Seems not so... ;P Anyway, thanks for your help.

                            1 Reply Last reply
                            0
                            • L LazyInNet

                              Our business is working on a surveillance system and the interface basically takes over the entire screen. Sometimes we would like to grab user's attention / prevent user from any further interaction.

                              J Offline
                              J Offline
                              Jim Crafton
                              wrote on last edited by
                              #14

                              Hmm, well that would definitely do it!

                              ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                              1 Reply Last reply
                              0
                              • L LazyInNet

                                You know, in XP, when you go Start->Turn Off Computer, the Turn Off Computer window will appear and the rest of the screen turns grey and not responding to user interaction. Same happens for window card space. Is there any way to do that in C++/C#?

                                V Offline
                                V Offline
                                Vasudevan Deepak Kumar
                                wrote on last edited by
                                #15

                                If you are asking in ASP.NET Webpage, you can opacity style setting to do it in JavaScript.

                                Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                                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