CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    32

    about controls in a dialog

    1-

    i am created some different type of controls (edit box, combo box etc)dynamically,

    i want the count of the controls which are on dialog
    ***********

    2 how can i delete the object from the memory which are created dynamically

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: about controls in a dialog

    See EnumChildWindows().

    how can i delete the object from the memory which are created dynamically
    Code:
    m_control->DestroyWindow();
    delete m_control;
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

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