From: Dmitry Timoshkov Subject: Re: [PATCH] ieframe: IOleObject::SetExtent() should resize the Shell Embedding Window. Message-Id: <20200622174048.f5423b3fb14f2e34e55b43bd@baikal.ru> Date: Mon, 22 Jun 2020 17:40:48 +0800 In-Reply-To: <56ea653b-c5f4-7a9b-a800-197b099fd19a@codeweavers.com> References: <20200619111907.66db11b2ab2298b224f52f8c@baikal.ru> <56ea653b-c5f4-7a9b-a800-197b099fd19a@codeweavers.com> Hi Jacek, Jacek Caban wrote: > Could you please add a test? We already have some SetExtent() tests and > you can use GetWindow() to get the window handle there. Thanks for the review. I've added some tests and they show that ::SetExtent() should not immediately resize the Shell embedding window, it looks like that the window gets resized during UI activation. However, the application that I have here calls ::SetExtent() (and nothing else) from its main window WM_SIZE handler, and under Windows the contents size follows main window size, but under Wine contents size keeps original (wrong) values. Do you have an idea what might be wrong, and how this behaviour could be tested? -- Dmitry.