On Wed Aug 3 14:09:24 2022 +0000, Akihiro Sagawa wrote:
Got it. Good tip.
It turns out that SM_CXMIN is used only when creating an overlapped window. In other words, if a user supplies WS_CHILD or WS_POPUP style, CreateWindow won't adjust the window width to SM_CXMIN. Nevertheless, I'll squash two patches into one to avoid regressions.