Kirill K. Smirnov wrote:
It is not what needed, but gives a clue: while reading GetSystemMetrics on MSDN, I was referred to GetMonitorInfo again, but I was told to use rcWork area. I re-test it under windows and voila: wine is buggy (rcWork == rcMonitor), but under windows rcWord < rcMonitor.
:) It is good, that it has found one more bug.
This almost exactly what I needed, but it does not take into account different monitors.
Anyway, problem is half-solved. Thanks, Anatoly!
I am glad, that could help you a little.
-- Kirill