Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting a Window's Minimum and Maximum Size using WINAPI

Tags:

c

winapi

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

Thanks

like image 676
jmasterx Avatar asked Apr 26 '11 18:04

jmasterx


1 Answers

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

like image 170
Blindy Avatar answered Oct 03 '22 08:10

Blindy