Display::userArea has the same dimension with the totalArea

Hi all,

The total area and the user area of the Main display, seems to have been set to the same dimensions.

My display has a dpi of 96, a scale factor of 1, and a resolution of 1024x768. 

Am I missing something?

George

 

 

What are you expecting?

I am expecting what the documentation says : https://www.juce.com/doc/structDesktop_1_1Displays_1_1Display

In summary : 
- totalarea, stands for the total physical area of this display  
- userarea, stands for the usable area, that means the area excluding parts used by OS. 

 

Edit: I need this info, because I want to expand a window to the limits of the usable area of the screen

 

 

On which OS are you on? I think this may be the case on Linux.

OS : Windows-10

IDE : Visual Studio 13

JUCE :  4.1.0

 

Yes you are right. We currently also return the same area on Windows. Does anybody have any suggestions on how to get the user area on windows 10. Then we could integrate this into JUCE.

http://stackoverflow.com/questions/4041331/screen-area-vs-work-area-rectangle

 

?