|
-
May 15th, 2005, 07:53 AM
#1
Simple Questions
1 to refresh the menu items at runtime,
2 how to delete the memory, which are dynamically created at runtime
-
May 15th, 2005, 08:19 AM
#2
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.
-
May 15th, 2005, 09:26 AM
#3
Re: Simple Questions
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|