Upgrading and migrating > Converting encyclopedias to current version > Modifying macros created with older System Architect versions > Guidelines for adding macro items to menus programmatically > Adding a popup
  
Adding a popup
Use the CreatePopUpMenu method with the name you want to use for your popup. And a BMP if desired. The popup is added to the root collection of popups in System Architect.
When you leave System Architect you no longer need your event handler class to remove any added popups using RemovePopUpMenu.
See also
Guidelines for adding macro items to menus programmatically