From: Antoine Zahnd

Subject: resize and on-paint events

Date: 1998-5-6 5:28

Hello,

I use Allegro CL for windows 3.0.1 and I would like a resizable
non-scrolable, refreshing window!

Even better, how can I intercept a resize event and an on-paint event? 
What I need is to know
when the window is resized (only specific width and height will be allowed)
and when the window
needs to be re-paint.

What I have try is the following:

A non-scrolable resizable bitmap-window, but then it is impossible to
obtain a larger window that
the one design in the interface builder (If scrolable it is possible).

A non-scrolable resizable frame-window, but then I don't know where to
write the re-paint code.

Either way I would like to control at run time the dimensions of the
window, say for example that
when resizing it, only the width and height which are multiple of 10 will
be possible (done by
rounding).


Thank you very much in advance for your replies.
Antoine.