https://bugs.winehq.org/show_bug.cgi?id=54269
--- Comment #1 from 399989567@qq.com --- (In reply to 399989567 from comment #0)
Created attachment 73834 [details] demo
In actual application, it may be necessary to limit the maximum or minimum size of the window. The maximum or minimum size of the window is controlled by the WM_GETMINMAXINFO message. Therefore, in a form that needs to control the maximum or minimum size of the window, this message needs to be mapped.
I wrote a 32-bit program running under Windows 10, when a WM_GETMINMAXINFO message is received, the text position of the output changes.
This works fine under windows10, but in wine, when the window is resized, the program cannot receive the WM_GETMINMAXINFO message
Note that there is still a bug here, I limit the maximum and minimum size of the window, but this also does not take effect in wine.
The method used to limit the size: https://blog.csdn.net/freehawkzk/article/details/81662068