1. 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

new topic     » topic index » view message » categorize

2. Re: Restricting window resize

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!
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Restricting window resize

[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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu