Hello All,
So I can position panels properly, I would like to know the usable screen size.
I see the function GetDeviceLayoutValues, and this returns 480x800 as it should. But there are title and status bars at the top of the screen. This reduces my usable area. I find the usable height to be somewhere around 725 pixels not 800.
The upper left-hand location of the usable area is 0, 0. The usable height, however, is only about 725 pixels. If I want to place a 50 pixel high panel at the bottom, I need to know what the screen height really is or a portion of my panel will be off the screen.
Are the status bar and title fixed heights - the heights don't change based on the device? at which point I can just subtract this from the device height.
Is there a function which returns the dimensions of the usable window? or the dimensions of the status bar and title?
Thanks,
Barry.