To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72484
------- Additional comments from [EMAIL PROTECTED] Tue Dec 12 01:37:03 -0800
2006 -------
Have tested with some Python code to see what EnumDisplayMonitors returns.
It seems that even with no external monitor attached, 2 monitorinfos are
enumerated, one of which is some kind of virtual monitor.
I'll attach Python code for enumerating the displays as a quick test (this
basically mirrors what is done in vcl/win/source/app/salinfo.cxx)
The results are as follows with no external monitor attached:
Monitor 0
cbSize: 72
dwFlags: 1
hMonitor: 65537
rcMonitor: {'top': 0L, 'right': 1280L, 'bottom': 800L, 'left': 0L}
rcWork: {'top': 0L, 'right': 1280L, 'bottom': 736L, 'left': 0L}
szDevice: \\.\DISPLAY1
Monitor 1
cbSize: 72
dwFlags: 0
hMonitor: 65539
rcMonitor: {'top': 0L, 'right': 1280L, 'bottom': 800L, 'left': 0L}
rcWork: {'top': 0L, 'right': 1280L, 'bottom': 800L, 'left': 0L}
szDevice: \\.\DISPLAYV1
It seems that DISPLAYV1 is a mirror driver, from a brief web search. It may be
possible to ignore these by using MONITORINFOEX and checking the name, but I
admit I'm not really sure what the best thing to do here is...
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]