При придоченных окнах у меня различается
PHP код:
static void TestJob(Args _args)
{
hWnd MdiClient = WinAPI::FindWindowEx(infolog.hWnd(), 0, 'MDIClient', '');
container getClientRect(hwnd _window)
{
Binary data = new Binary(32);
DLL _winApiDLL = new DLL('user32');
DLLFunction fun = new DLLFunction(_winApiDLL, 'GetClientRect');
fun.returns(ExtTypes::DWord);
fun.arg(ExtTypes::DWord, ExtTypes::Pointer);
fun.call(_window, data);
return [data.dWord(0), data.dWord(4), data.dWord(8), data.dWord(12)];
}
;
info(con2str(getClientRect(infolog.hWnd())));
info(con2str(getClientRect(mdiCLient)));
}