Screen.PrimaryScreen.WorkingArea question

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

Screen.PrimaryScreen.WorkingArea.Height gets the height of the display
excluding the taskbar. However, if your windows taskbar is set to auto-hide,
this taskbar height is NOT excluded. How can I check for this so that I can
position a window correctly so that the taskbar will not hide part of it ?
 
you could, more simply;

set the window state to: Maximized

and? set the border to none
 
Setting to maximised will also position a window "under" the taskbar when it
pops up. I want to position a small window so that the taskbar (when it pops
up) meets it's bottom edge - it's actually a taskbar notifier window I'm
creating so you may see why I need this.

If I can only capture an event when the windows taskbar pops up ... and then
auto-hides again, I can position my little window as I need to.
 
Back
Top