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

    Simple Questions

    1 to refresh the menu items at runtime,

    2 how to delete the memory, which are dynamically created at runtime

  2. #2
    Join Date
    Oct 2002
    Location
    Germany
    Posts
    6,205

    Re: Simple Questions

    Answering question # 2 -
    Memory can by allocated dynamically using malloc, or new.

    For the former, use free.
    For the latter use delete, or delete [] if you allocated an array.

  3. #3
    Join Date
    Sep 2002
    Location
    14° 39'19.65"N / 121° 1'44.34"E
    Posts
    9,815

    Re: Simple Questions

    Quote Originally Posted by ravirams
    1 to refresh the menu items at runtime
    If you're using MFC, implement OnUpdate handlers for your menu commands.

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