expand collaps

## dhtmlxWindows Events

    var dhxWins = new dhtmlXWindows();
onMoveFinish - occurs when the window movement was finished. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onMoveFinish", function(win) {
    	alert("Window with ID " + win.getId() + " was moved.");
    });
onResizeFinish - occurs when the window resizing was finished. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onResizeFinish", function(win) {
    	alert("Window with ID " + win.getId() + " was resized.");
    });
onFocus - occurs when the window was focused. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onFocus", function(win) {
    	alert("Window with ID " + win.getId() + " was focused.");
    });
onParkDown - occurs when the window was parked down. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onParkDown", function(win) {
    	alert("Window with ID " + win.getId() + " was parked down.");
    });
onParkUp - occurs when the window was parked up. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onParkUp", function(win) {
    	alert("Window with ID " + win.getId() + " was parked up.");
    });
onMaximize - occurs when the window was maximized. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onMaximize", function(win) {
    	alert("Window with ID " + win.getId() + " was maximized.");
    });
onMinimize - occurs when the window was minimized. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onMinimize", function(win) {
    	alert("Window with ID " + win.getId() + " was minimized.");
    });
onShow - occurs when the window was shown. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onShow", function(win) {
    	alert("Window with ID " + win.getId() + " was shown.");
    });
onHide - occurs when the window was hidden. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onHide", function(win) {
    	alert("Window with ID " + win.getId() + " was hidden.");
    });
onClose - occurs before the window is closed. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onClosed", function(win) {
    	alert("Window with ID " + win.getId() + " will be closed.");
    });
onHelp - occurs when user clicks the "help" button. Argument(s) passed into handler: - window handler
    dhxWins.attacheEvent("onHelp", function(win) {
    	alert("The 'Help' button of the Window with ID " + win.getId() + " was pressed.");
    });

## Single Window Events

    var dhxWins = new dhtmlXWindows();
    var myWin = dhxWins.createWindow(id, x , y, width, height);
onMoveFinish - occurs when the window movement was finished. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onMoveFinish", function(win) {
    	alert("Window with ID " + win.getId() + " was moved.");
    });
onResizeFinish - occurs when the window resizing was finished. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onResizeFinish", function(win) {
    	alert("Window with ID " + win.getId() + " was resized.");
    });
onFocus - occurs when the window was focused. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onFocus", function(win) {
    	alert("Window with ID " + win.getId() + " was focused.");
    });
onParkDown - occurs when the window was parked down. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onParkDown", function(win) {
    	alert("Window with ID " + win.getId() + " was parked down.");
    });
onParkUp - occurs when the window was parked up. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onParkUp", function(win) {
    	alert("Window with ID " + win.getId() + " was parked up.");
    });
onMaximize - occurs when the window was maximized. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onMaximize", function(win) {
    	alert("Window with ID " + win.getId() + " was maximized.");
    });
onMinimize - occurs when the window was minimized. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onMinimize", function(win) {
    	alert("Window with ID " + win.getId() + " was minimized.");
    });
onShow - occurs when the window was shown. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onShow", function(win) {
    	alert("Window with ID " + win.getId() + " was shown.");
    });
onHide - occurs when the window was hidden. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onHide", function(win) {
    	alert("Window with ID " + win.getId() + " was hidden.");
    });
onClose - occurs before the window is closed. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onClosed", function(win) {
    	alert("Window with ID " + win.getId() + " will be closed.");
    });
onHelp - occurs when user clicks the "help" button. Argument(s) passed into handler: - window handler
    myWin.attacheEvent("onHelp", function(win) {
    	alert("The 'Help' button of the Window with ID " + win.getId() + " was pressed.");
    });