Hello. I have been developing a Windows Form Application that works as an alert system for my computer, and the form is docked at the bottom of my screen. What I want to do is contract the Screen.PrimaryScreen.WorkingArea.Height by the height of my Windows Form. That way, instead of me having to move my icons from underneath of my application, they will automatically be moved by the operating system due the the contracted Screen.Primary.Screen.WorkingArea.Height.
Here is what I want:
Here is an example of exactly how big I want the working area. The red rectangle around visual studio represents the working area I want.
I played with some of the properties in the Screen.PrimaryScreen.WorkingArea class and was not able to reach success with my approaches as each time I tried something it gave me compiler errors saying that the properties were either not accessable or are cannot be used like variables.
If anyone knows how to contract the height of the Screen.PrimaryScreen.WorkingArea, please, let me know.
Thank you in advance,
Dave S. Anderson
Owner of DCOM Productions
View Complete Post