[PATCH] ieframe: IOleObject::SetExtent() should resize the Shell Embedding Window.

Jacek Caban jacek at codeweavers.com
Tue Jun 23 10:09:02 CDT 2020


On 22.06.2020 11:40, Dmitry Timoshkov wrote:
> Hi Jacek,
>
> Jacek Caban <jacek at codeweavers.com> 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?


I don't know, it will need more experimenting. Maybe we'd need to pump 
messages in tests for this call to take place? Or maybe something else 
specific to embedder (eg. its IOleInPlaceSite implementation) changes 
the behaviour.


Thanks,

Jacek




More information about the wine-devel mailing list