Display::userArea does not correctly allow for taskbar on second monitors

Display::userArea is described as “The total area of this display in logical pixels which isn’t covered by OS-dependent objects like the taskbar, menu bar, etc.”

In Displays::findDisplays(...) in juce_win32_Windowing.cpp, juce allows for the main window to have a taskbar by checking the availble screen via SystemParametersInfo (SPI_GETWORKAREA,...)

It seems it’s possible to get similar information for the other displays via this call:

Is it possible for this to make its way into a future Juce release?


1 Like