I am now able to create a menu based on text in a file thanks to Aldo's help. Now that the menu items have been added, is there a way to modify the menu?

Here is what my program does. It allows a user running Windows 2000 or NT to send a message to every computer running Windows 2000 or NT in a network environment (based on workgroup names). I want the user to be able to add a list of message shortcuts to a menu. For instance...

Shortcut name   Message
GODZILLA                Godzilla has been sighted downtown, run for your lives!
THUNDERSTORM    There is a severe thunderstorm watch.
TORNADO         There is a tornado on its way!


Anyway, the Message shortcuts are stored (sorted) in a Message menu. When they click on the message shortcut the text of the message is placed in a message box for them. That part all works. The user is able to add their own message shortcuts to the menu but they don't appear there until the program is restarted because the .ini file is read when the program runs. Is there a way to automatically add these shortcuts to the menu without having to restart the program?

Any help would be appreciated.


Jonathan

Reply via email to