About WindowShape

Chipp Walters chipp at chipp.com
Tue Jun 3 06:15:01 EDT 2003


Scott,

> The "dynamically build a trans GIF or PNG..." is the part I have trouble
> understanding. How do you envision doing this quickly enough to update the
> window while the user is dragging?

I'm suggesting to use the dragRect XFCN to show a rectangle on the screen
where you would like to resize the window to, then when the mouse is up, the
PNG is redrawn ONLY once. The DragRect is used as a guide.

The second example works sorta like the windows media player which sometimes
*shows* the full window. So, the idea is to set the decorations to default
when you resize, so it shows the full window w/out a windowshape, when your
finished resizing, it redraws the PNG and sets the WindowShape.

--Chipp





More information about the use-livecode mailing list