CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15

Threaded View

  1. #8
    Xeon's Avatar
    Xeon is offline Elite Member Power Poster
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    4,195

    Talking

    Hi there Alpha! Thank you so much!
    But previously, u mention on this thread that I should code:
    Code:
    for(int i = 0; i < 10; i++)
    {
        for (int i=0; i<=m_arDlgs.GetSize(); i++)
       {
           CMyDialog* pDlg = m_arrDlgs.GetAt(i);
           delete pDlg;
       }
    }
    Is this needed anymore in my case? Or is it darn sufficient to call "delete this"? Thanks!

    ...I'm one of those folks who behave as though I'm the Lord...
    --------------------------------------------------------------------------------
    Well, there are a lot of those folks out there.
    quote:
    --------------------------------------------------------------------------------
    ...even though I know darn well I'm not...
    --------------------------------------------------------------------------------
    This reduces the number of the first group to only a few, ok?
    Darn it! Look here, Alpha : One of these fine days, u're really gonna get it from me, k???!!!! Yes! Chicken chop!!!!!
    Last edited by Xeon; October 20th, 2002 at 05:54 AM.
    "Hell is calling for you!" - Rufus, from Valkyrie Profile 2 : Silmeria

    "I'm getting tired of you devils.....finishing strike......Final Blast!" - Arngrim, from Valkyrie Profile 2 : Silmeria

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