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. Adjusting and detecting changes to WorkingArea (WORKAREA)

Adjusting and detecting changes to WorkingArea (WORKAREA)

Scheduled Pinned Locked Moved C / C++ / MFC
comcsharptutorialquestionlounge
11 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.
  • C Offline
    C Offline
    chaiguy1337
    wrote on last edited by
    #1

    Howdy y'all. :laugh: Does anyone happen to know off-hand if there's any way to tap into a system message for when the WorkingArea of the primary screen changes? I'm actually using .NET but should be able to do something with interop. To see what I mean, simply change the windows vista sidebar "always on top" setting. This results in the WorkingArea changing. (In the worst case I suppose I could poll every few seconds, but for something that is only going to happen once in a long while it seems wasteful.) Secondly, does anyone know how to "reset" the workingarea to what it should be, minus any alterations? I am adjusting the working area to allow for an RSS ticker to be displayed on-screen, even when other windows are maximized. So far it's working great, except that the calculation sometimes gets thrown off, and it appears in the wrong location, or doesn't reset itself properly. In general, if anyone has experience working with the WorkingArea or WORKAREA as I guess it's called in Win32, please let me know some tricks of the trade. Muchas gracias, Logan

    {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

    C D 2 Replies Last reply
    0
    • C chaiguy1337

      Howdy y'all. :laugh: Does anyone happen to know off-hand if there's any way to tap into a system message for when the WorkingArea of the primary screen changes? I'm actually using .NET but should be able to do something with interop. To see what I mean, simply change the windows vista sidebar "always on top" setting. This results in the WorkingArea changing. (In the worst case I suppose I could poll every few seconds, but for something that is only going to happen once in a long while it seems wasteful.) Secondly, does anyone know how to "reset" the workingarea to what it should be, minus any alterations? I am adjusting the working area to allow for an RSS ticker to be displayed on-screen, even when other windows are maximized. So far it's working great, except that the calculation sometimes gets thrown off, and it appears in the wrong location, or doesn't reset itself properly. In general, if anyone has experience working with the WorkingArea or WORKAREA as I guess it's called in Win32, please let me know some tricks of the trade. Muchas gracias, Logan

      {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

      C Offline
      C Offline
      chaiguy1337
      wrote on last edited by
      #2

      Aha, I just discovered C# does Shell[^] here on CP, which of course I should have searched for first. I'll read through this and see if it answers my questions and/or teaches me a few new tricks. Feel free to post any comments in the meantime...

      {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

      1 Reply Last reply
      0
      • C chaiguy1337

        Howdy y'all. :laugh: Does anyone happen to know off-hand if there's any way to tap into a system message for when the WorkingArea of the primary screen changes? I'm actually using .NET but should be able to do something with interop. To see what I mean, simply change the windows vista sidebar "always on top" setting. This results in the WorkingArea changing. (In the worst case I suppose I could poll every few seconds, but for something that is only going to happen once in a long while it seems wasteful.) Secondly, does anyone know how to "reset" the workingarea to what it should be, minus any alterations? I am adjusting the working area to allow for an RSS ticker to be displayed on-screen, even when other windows are maximized. So far it's working great, except that the calculation sometimes gets thrown off, and it appears in the wrong location, or doesn't reset itself properly. In general, if anyone has experience working with the WorkingArea or WORKAREA as I guess it's called in Win32, please let me know some tricks of the trade. Muchas gracias, Logan

        {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Is this a C# question? Have you used Spy++ on the desktop to see what messages it receives after the Sidebar changes?

        "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        C 2 Replies Last reply
        0
        • D David Crow

          Is this a C# question? Have you used Spy++ on the desktop to see what messages it receives after the Sidebar changes?

          "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          C Offline
          C Offline
          chaiguy1337
          wrote on last edited by
          #4

          Actually it's a Win32 question, but I didn't see a specific forum.

          {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

          D 1 Reply Last reply
          0
          • C chaiguy1337

            Actually it's a Win32 question, but I didn't see a specific forum.

            {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            logan1337 wrote:

            Actually it's a Win32 question...

            Is this a new language ;) , or are you referring to some IDE?

            "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            C 1 Reply Last reply
            0
            • D David Crow

              logan1337 wrote:

              Actually it's a Win32 question...

              Is this a new language ;) , or are you referring to some IDE?

              "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              C Offline
              C Offline
              chaiguy1337
              wrote on last edited by
              #6

              Win32's anything but new. It's the governing underlying API of the Windows operating system since (I think) Windows 95.

              {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

              D 1 Reply Last reply
              0
              • C chaiguy1337

                Win32's anything but new. It's the governing underlying API of the Windows operating system since (I think) Windows 95.

                {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                Really? I would've never known. :rolleyes:

                "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                C I 3 Replies Last reply
                0
                • D David Crow

                  Really? I would've never known. :rolleyes:

                  "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                  C Offline
                  C Offline
                  chaiguy1337
                  wrote on last edited by
                  #8

                  You learn something new everyday. ;)

                  {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

                  1 Reply Last reply
                  0
                  • D David Crow

                    Really? I would've never known. :rolleyes:

                    "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                    "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                    I Offline
                    I Offline
                    Iain Clarke Warrior Programmer
                    wrote on last edited by
                    #9

                    Even an old dog can learn new tricks when taught with a taser... Methinks your tongue wasn't in cheek enough... Have you tried sellotape? Iain.

                    1 Reply Last reply
                    0
                    • D David Crow

                      Really? I would've never known. :rolleyes:

                      "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                      C Offline
                      C Offline
                      chaiguy1337
                      wrote on last edited by
                      #10

                      LOL sorry, I didn't notice you were an MVP! Haha that makes quite a difference in the mind's eye vs. a n00b. :-O

                      {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

                      1 Reply Last reply
                      0
                      • D David Crow

                        Is this a C# question? Have you used Spy++ on the desktop to see what messages it receives after the Sidebar changes?

                        "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                        C Offline
                        C Offline
                        chaiguy1337
                        wrote on last edited by
                        #11

                        As far as that goes, and to answer my own question, I found what appears to be the information I was looking for to begin with: Using Application Desktop Toolbars[^] Logan :-D

                        {o,o}.oO( Want a great RSS reader? Try FeedBeast! ) |)””’)      ( Check out my profile for a special members deal! ) -”-”-

                        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