Logrus
Topic Author
Posts: 37
Joined: 22 Jul 2015, 12:16

IView does not resize when window Restored or Maximized

26 Oct 2021, 22:59

Hi,
in version 3.1.1 the Win32Display::DispatchEvent code has been changed.
in the handler SIZE_RESTORED and SIZE_MAXIMAZED removed the notification mSizeChanged (...)

in 3.1.1 there is another way to resize IView?

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 2422
Joined: 22 Dec 2011, 19:20

Re: IView does not resize when window Restored or Maximized

27 Oct 2021, 11:06

Could you please report this in our bugtracker, this was a regression and we have to fix it.

IView has a SetSize() method you can manually call, but I guess in the meantime you can just copy the code from WM_EXITSIZEMOVE to WM_SIZE to force the SizeChanged event to be raised.
 
User avatar
jsantos
Site Admin
Posts: 3338
Joined: 20 Jan 2012, 17:18
Contact:

Re: IView does not resize when window Restored or Maximized

27 Oct 2021, 11:20

We broke this when fixing (#2098) for D3D12. Sending too many WM_SIZEs was crashing a driver.
It will be fixed in 3.1.2. Please, use Win32Display source from 3.1.0 meanwhile.
 
Logrus
Topic Author
Posts: 37
Joined: 22 Jul 2015, 12:16

Re: IView does not resize when window Restored or Maximized

27 Oct 2021, 11:41

OK

bugtracker#2165
 
User avatar
jsantos
Site Admin
Posts: 3338
Joined: 20 Jan 2012, 17:18
Contact:

Re: IView does not resize when window Restored or Maximized

27 Oct 2021, 13:22

Thank you!

Who is online

Users browsing this forum: No registered users and 1 guest