I think that will help you GetSystemMetrics() with SM_CXFULLSCREEN and SM_CYFULLSCREEN but I did not verify it. Sorry if I shall be not right.
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.
Or SystemParametersInfo() with SPI_GETWORKAREA will help you (http://msdn2.microsoft.com/en-us/library/ms724947.aspx)
This almost exactly what I needed, but it does not take into account different monitors.
Anyway, problem is half-solved. Thanks, Anatoly!
-- Kirill
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