Could someone repost the macro to limit the windowsize?
Remember seeing one a while back.
Remember seeing one a while back.
I think you want this thread.
http://www.asmcommunity.net/board/showthread.php?threadid=2200&highlight=macro+window+size
http://www.asmcommunity.net/board/showthread.php?threadid=2200&highlight=macro+window+size
Thanks that's the one.
For simpler size restraints if my window doesn't have a sizebar I just handle the WM_GETMINMAXINFO message. That way I can control the size when it's maximized. ;D