1. Minimum window size...

How do you enforce certain window bounds using win32lib?

ie: If I have a window that looks horrible at anything smaller than
300x400pixels, how to stop someone from resizing it smaller, while
still allowing them to make it larger?
-- 
MrTrick

new topic     » topic index » view message » categorize

2. Re: Minimum window size...

Patrick Barnes wrote:
> 
> How do you enforce certain window bounds using win32lib?

The easiest way (I think) is just to use Don Phillips' xControls library.
Although I think Derek has some built-in features now for controlling that
kind of stuff. If not, the "Range" parameter would be good for that, maybe.
See ...Docs/DEFINING_CONTROL.htm#NEWUIOBJ.

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

3. Re: Minimum window size...

Nevermind, I got it...
...plus, I found the Euforum archives!

...strange coincidences indeed...

On Thu, 18 Nov 2004 15:57:44 +1100, Patrick Barnes <mrtrick at gmail.com> wrote:
> How do you enforce certain window bounds using win32lib?
> 
> ie: If I have a window that looks horrible at anything smaller than
> 300x400pixels, how to stop someone from resizing it smaller, while
> still allowing them to make it larger?
> --
> MrTrick
-- 
MrTrick

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

Search



Quick Links

User menu

Not signed in.

Misc Menu