CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Location
    India
    Posts
    4

    Resizing Custom Dialog

    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


  2. #2
    Join Date
    Jul 2001
    Location
    Florida, USA
    Posts
    107

    Re: Resizing Custom Dialog

    I hope you've had some luck figuring out your problem, but if you haven't or for anyone else out there that might need some help with the same issue.

    There is an AnimateWindow function which might help you out.

    http://msdn.microsoft.com/library/de...mfc_ccmdui.asp


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured