(C) 1998 AROS - The Amiga Research OS


NAME
#include <exec/types.h>
#include <intuition/intuition.h>
#include <proto/intuition.h>

BOOL WindowLimits (window , MinWidth , MinHeight , MaxWidth , MaxHeight)

LOCATION
In IntuitionBase at offset 53

SYNOPSIS
struct Window * window
WORD MinWidth
WORD MinHeight
UWORD MaxWidth
UWORD MaxHeight

FUNCTION
This functions sets the minimum and maximum sizes of a window.

INPUTS
Window
window to change
MinWidth, MinHeight
the minimum size, may be 0 for no change
MaxWidth, MaxHeight
the maximum size, may be 0 for no change,
be
1 for no maximum size

RESULT
A boolean. FALSE is returned if any of the provided sizes is out of range. Note that the other sizes take effect, though. TRUE if all sizes could be set.

EXAMPLE

SEE ALSO
OpenWindow()

NOTES

BUGS

INTERNALS

HISTORY