windos buttons

Hi, I am using a window v2.6 to show a map into a layout. The problem is the icons appear in different position I mean, first the close, then max, and then min. I want the icons apper in the normal way.

And How can I delete all the elements, in order to recreate them without problems??

My code is:

dhxWins = new dhtmlXWindows();
mapLayout = new dhtmlXLayoutObject(dhxWins.createWindow(“w1”, 1, 1, 500, 470), “1C”);
dhxWins.window(“w1”).center();
dhxWins.enableAutoViewport(true);
dhxWins.setImagePath("…/img/dhtmlxWindows/");
dhxWins.window(“w1”).setText(“Ubicación”);
mapLayout.cells(“a”).hideHeader();
GMaps = mapLayout.cells(“a”).attachMap(customparams);

Thanks!!!

Hi,

The problem is the icons appear in different position I mean, first the close, then max, and then min.

What skin do you use ?

How can I delete all the elements, in order to recreate them without problems??

What elements did you mean ? Please provide more details