Robert Shearman rob@codeweavers.com writes:
According to this URL a number of WS_ flags cannot be changed after the window is created (using SetWindowLong): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI... This patch uses that information and ignores just the WS_MINIMIZE and WS_MAXIMIZE styles in SetWindowLong.
That MSDN page implies that pretty much all styles can't be modified, which is definitely not true. I must say I would be surprised if WS_MAXIMIZE and WS_MINIMIZE were handled differently from the rest. Could you please provide a test case?