DHTMLX Window

Hi,



Is it possible to disable the maximization triggered by a double click in the header of the window?

I have hidden the maximization button but I cant disable this feature.

Thanks!


Hello,


you can try to use the denyResize() method to deny resizing:


win.denyResize()

Thanks for your answer Alex. I need to keep the window resizable. If it’s possible, i only need to disable the double click maximization because i have hidden the maximization button.


You can try to use the following approach to disable maximize on double click in header:


dhxWins._engineGetWindowHeader(dhxWins.window(id)).ondblclick=null


Where id is id of the necessary window, dhxWins is dhtmlxWindows object.


It seems that adding this line has disabled the double click in some places of the header. I think double click keeps working over the text of the header. Do I have to add another line like this?



Thanks for your help!


>> I think double click keeps working over the text of the header


Please provide the sample to recreate the issue.


I made a mistake in the last test. The double click is disabled ok but when i do 4 continuous clicks the window keeps getting maximized. Is it possible to disable this too?



Thanks again!



 



 

The issue wasn’t reproduced. Please provide the sample and detailed description how to reproduce it.