5 Oct
2007
5 Oct
'07
12:48 p.m.
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