User Guide
Window functions 213
Arguments
None.
Returns
An integer that represents the snapping distance in pixels. The default is 10 pixels; 0 indicates that
the Snap feature is off.
dreamweaver.minimizeRestoreAll()
Availability
Dreamweaver 4.
Description
This function minimizes (reduces to an icon) or restores all windows in Dreamweaver.
Arguments
bMinimize
• The bMinimize argument is a Boolean value: true if windows should be minimized; false if
the minimized windows should be restored.
Returns
Nothing.
dreamweaver.setActiveWindow()
Availability
Dreamweaver 3.
Description
This function activates the window that contains the specified document.
Arguments
documentObject
, {bActivateFrame}
• The documentObject argument is the object at the root of a document’s DOM tree (the value
that the
dreamweaver.getDocumentDOM() function returns).
• The bActivateFrame argument is optional, and is applicable only if documentObject is
inside a frameset. The
bActivateFrame argument is a Boolean value: true activates the frame
that contains the document as well as the window that contains the frameset;
false otherwise.
Returns
Nothing.
000_DW_API_Print.book Page 213 Wednesday, August 20, 2003 9:14 AM