VirtualBox

Ticket #6410 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Win32 API call GetMonitorInfo returns incorrect workarea rectangle

Reported by: PVdPoel Owned by:
Priority: minor Component: GUI
Version: VirtualBox 3.1.4 Keywords: GetMonitorInfo
Cc: Guest type: Windows
Host type: Windows

Description

The GetMonitorInfo API call can be used to determine a monitors' screensize and also it's active workarea.

I have noticed that my Windows XP SP2 Guest is returning the same values for screensize and active workarea. This is incorrect since the workarea should be smaller than the screensize due to the existence of a taskbar.

Change History

comment:1 in reply to: ↑ description Changed 4 years ago by PVdPoel

Replying to PVdPoel:

The GetMonitorInfo API call can be used to determine a monitors' screensize and also it's active workarea.

I have noticed that my Windows XP SP2 Guest is returning the same values for screensize and active workarea. This is incorrect since the workarea should be smaller than the screensize due to the existence of a taskbar.

This bug can be closed and marked as invalid.

In 'Taskbar and Start Menu properties' the checkbox 'Keep the taskbar on top of other windows' was unticked. GetMonitorInfo gave correct information once this checkbox was ticked...

comment:2 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

Thanks for the report.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use