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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to know the fact that desktop in changed?

How to know the fact that desktop in changed?

Scheduled Pinned Locked Moved C#
testingbeta-testingjsontutorialquestion
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.
  • D Offline
    D Offline
    dhami_naresh
    wrote on last edited by
    #1

    Hi all, please i need the win32 API function to know the fact that is desktop changed. Thank you in advance.

    naresh is testing the site.

    S L 2 Replies Last reply
    0
    • D dhami_naresh

      Hi all, please i need the win32 API function to know the fact that is desktop changed. Thank you in advance.

      naresh is testing the site.

      S Offline
      S Offline
      snorkie
      wrote on last edited by
      #2

      I'm not sure the exact answer, but anytime you are looking for a Win32 API function, you should check out the site http://www.pinvoke.net/. Hogan

      D 1 Reply Last reply
      0
      • D dhami_naresh

        Hi all, please i need the win32 API function to know the fact that is desktop changed. Thank you in advance.

        naresh is testing the site.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, what changes on the desktop ? AFAIK: - the resolution, the pixel depth, ... that will fire a Paint event; see also the SystemEvents class. - the icons (new, renamed, moved,...): no event available - the background image: no event available Hope this helps

        Luc Pattyn [Forum Guidelines] [My Articles]


        this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


        D 1 Reply Last reply
        0
        • S snorkie

          I'm not sure the exact answer, but anytime you are looking for a Win32 API function, you should check out the site http://www.pinvoke.net/. Hogan

          D Offline
          D Offline
          dhami_naresh
          wrote on last edited by
          #4

          Thank you very much guys. i look around your hints and links. hope it works.

          naresh is testing the site.

          1 Reply Last reply
          0
          • L Luc Pattyn

            Hi, what changes on the desktop ? AFAIK: - the resolution, the pixel depth, ... that will fire a Paint event; see also the SystemEvents class. - the icons (new, renamed, moved,...): no event available - the background image: no event available Hope this helps

            Luc Pattyn [Forum Guidelines] [My Articles]


            this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


            D Offline
            D Offline
            dhami_naresh
            wrote on last edited by
            #5

            Actually i need to send the image of my desktop to remote computer whenever desktop gets changes. So for this, the i am expecting a common event(for opening new window on the desktop ,selecting the desktop area,minimizing and maximizing any window over the dekstop) that can be caught in my application and at the same time it sends the desktops changed image to the remote computer. So plz any body have any idea?? Actually i know there happens a Paint System event, if so how can i handle this event in my application to know the changed state of my desktop?? Thank you in advance!! :laugh:

            naresh is testing the site.

            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