Get Topmost Window ID

Hello,

is there a function I can use to get the id of the topmost z-layered dhtmlx window object in the main window browser? All the windows in the browser have Autoviewport set to on.

Hello,

getTopmostWindow() returns an object of topmost window. Here is how to get its id:

var win = dhxWins.getTopmostWindow().getId();

Thank you!