User Guide

Menu functions 171
dreamweaver.notifyMenuUpdated()
Availability
Dreamweaver 3.
Description
Notifies Dreamweaver when the specified menu needs to be updated.
Arguments
menuId
, menuListFunction
The menuId argument is a string that contains the value of the id attribute for the menu item,
as specified in the menus.xml file.
The menuListFunction argument must be one of the following strings:
"dw.cssStylePalette.getStyles()", "dw.getDocumentDOM().getFrameNames()",
"dw.getDocumentDOM().getEditableRegionList", "dw.getBrowserList()",
"dw.getRecentFileList()", "dw.getTranslatorList()", "dw.getFontList()",
"dw.getDocumentList()", "dw.htmlStylePalette.getStyles()", or
"site.getSites()".
Returns
Nothing.
dreamweaver.reloadMenus()
Availability
Dreamweaver 3.
Description
Reloads the entire menu structure from the menus.xml file in the Configuration folder.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 171 Wednesday, August 20, 2003 9:14 AM