Recently, I need a resizable dialog, so I have written quickly resizing library.
Enjoy :P

P.S::
I have to warn you about Anchors, an anchor at least include (left + top) or (right + bottom)
for instance;
ANCHOR_LEFT + ANCHOR_RIGHT = Invalid
ANCHOR_BOTTOM + ANCHOR_TOP = Invalid
BUT !
ANCHOR_LEFT + ANCHOR_TOP = Valid
ANCHOR_LEFT + ANCHOR_RIGHT + ANCHOR_BOTTOM = Valid
ANCHOR_BOTTOM+ANCHOR_TOP + ANCHOR_LEFT = Valid
Attachments:
Posted on 2006-08-22 13:07:40 by Dite
Humm, what happens if you have L/R or T/B mixed? Does it pick the first of the two?
Posted on 2006-08-22 16:21:45 by f0dder
you can mix them, but the problem is if you select only L+R or T+B, the opposide axis will left undefined and there is no default action for this
Posted on 2006-08-23 08:25:12 by Dite