Ignore WS_MINIMIZE and WS_MAXIMIZE in SetWindowLong

Alexandre Julliard julliard at winehq.org
Mon Aug 23 23:05:22 CDT 2004

Robert Shearman <rob at 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/WindowsUserInterface/Windowing/Windows/WindowReference/WindowStyles.asp
> 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?

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list