Check documentation for the latest version of dhtmlxSuite dhtmlXWindows API DHTMLX Docs

dhtmlXWindows API

attachContextMenu attaches a context menu to a window icon
attachEvent adds any user-defined handler to available events
attachViewportTo attaches a viewport to an existing object on the page (renders an object as a viewport)
createWindow creates a new window and returns its handler
detachContextMenu detaches a context menu from windows globally or detaches a custom window's menu
detachEvent detaches a handler from an event
enableAutoViewport if set to true, allows an object to adjust the viewport automatically to document.body
findByText returns an array of window handlers found by header text
forEachWindow iterator - goes through all windows and calls a user handler
getBottommostWindow returns the bottommost window
getContextMenu returns the context menu object attached to a window
getEffect returns true, if the effect is enabled
getTopmostWindow returns the topmost window
isWindow checks if a window with the specified id exists
setEffect sets a visual effect
setImagePath sets path to the directory where used images are located
setSkin changes window's skin
setViewport sets a user-defined viewport
unload unloads an object and clears memory
window returns a window instance (dhtmlXWindowsCell object) found by id
onBeforeMoveStart fires before window moving is started
onBeforeResizeStart fires before window resizing is started
onClose fires before a window is closed
onContentLoaded fires when content of the external page is loaded into the window
onFocus fires when a window was focused on
onHelp fires when the user clicks the “help” button
onHide fires when a window was hidden
onMaximize fires when a window was maximized
onMinimize fires when a window was minimized
onMoveCancel fires if moving was canceled (window hasn't changed its position)
onMoveFinish fires when window moving was finished
onParkDown fires when a window was parked down
onParkUp fires when a window was parked up
onResizeCancel fires if resizing was canceled (i.e. window size wasn't changed)
onResizeFinish fires when window resizing was finished
onShow fires when a window was shown
onStick fires when the user enables the "always on top" mode
onUnStick fires when the user disables the "always on top" mode
Back to top