Hi All

I tried doing a custom shaped dialog box and was successful in that. Here I am setting the shape of a irreguar bitmap as the shape of the dialog.

Now I want my dialog to be closed in a different style rather than the ordinary ones( when I click the close button ). That is I want my dialog to get squeezed or compressed to its center and then get destroyed.
So can anyone please tell me about how can I resize a irregular shaped dialog.
Any sort of input is highly appreciated.

Thanks and Regards

Ramananda