Maximum window size, help needed
vostok at etersoft.ru
Fri Oct 5 06:07:27 CDT 2007
Kirill K. Smirnov wrote:
> I want to improve wineconsole a little, max hor and vert console window
> dimensions. To achieve this, I need to know maximum available size of window
> on the desktop.
> The simpliest way I found is to use GetMonitorInfo, but it does not take
> into account desktop panels. As the result, maximized window fills entire
> desktop, overlapping with KDE panel.
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.
> So the question: is there such function, smth like
> GetMaxWindowSizeWithoutDesktopPanels, which clips panels?
> Thanks in advance
> P.S. Application which uses this - Far Manager
More information about the wine-devel