1. Restricting window resize
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 22, 2003
- 471 views
I'm sure someone once wrote a demo which shows how to prevent a window being resized smaller than a certain size, but I can't find it. Does anyone know where it is or how you do this? Specifically, I'd like the depth to be fixed and the width to be changeable between 690 and the screen width. One of the more stupid things I've tried is calling SetRect from the onresize routine, which gave it a bit of a headache - LOL Pete
2. Re: Restricting window resize
- Posted by fred at jordah.freeserve.co.uk Jul 22, 2003
- 435 views
I wrote a demo for this in my windows low level routines. Jordah ----- Original Message ----- From: "Pete Lomax" <petelomax at blueyonder.co.uk> To: "EUforum" <EUforum at topica.com> Subject: Restricting window resize > > > I'm sure someone once wrote a demo which shows how to prevent a window > being resized smaller than a certain size, but I can't find it. Does > anyone know where it is or how you do this? > > Specifically, I'd like the depth to be fixed and the width to be > changeable between 690 and the screen width. > > One of the more stupid things I've tried is calling SetRect from the > onresize routine, which gave it a bit of a headache - LOL > > Pete > > --^---------------------------------------------------------------- > This email was sent to: fred at jordah.freeserve.co.uk > > > TOPICA - Start your own email discussion group. FREE! > >
3. Re: Restricting window resize
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 22, 2003
- 420 views
[private] On Tue, 22 Jul 2003 13:45:11 -0400, Matt Lewis <matthewwalkerlewis at yahoo.com> wrote: >I think you want Don Phillip's xControls. > >Matt Lewis Thanks Matt, it was the WM_GETMINMAXINFO thing I missed. Brian Broker posted a demo (2001?) which was exactly what I was trying to remember. Thanks again, Pete