Setting a Window's Minimum and Maximum Size using WINAPI

前端 未结 2 776
刺人心
刺人心 2020-12-11 18:24

How can I make it so my window never gets any smaller than x,y? Which WINAPI function can do this?

Thanks

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-11 18:50

    You reply to WM_GETMINMAXINFO and fill in the structure with your limits.

提交回复
热议问题