winow not Maximizes....

hi,
for a window i have hided maximizing tool by giving
Maximizable : false

later i want to maximize the window on click of an icon on the header. code is somewhat like below

win=desktop.createwindow(
{
maximizable : false,
minimizable : false,
Tools:[{
id:'winsizeminimize',
qtip: 'Minimize',
handler: function(){win.minimize();}},//it works
{
id:'winsizelarge',
qtip: 'Maximize',
//hidden:true,
handler: function(){win.maximize();}}]//its not working
});

I have given both minimizable and maximizable= false initialy then i tried to minimize and maximize the window later. window gets minimize but it not maximizing


Can you tell me why it happens and how can i maximize the window.
http://extjs.com/forum/images/buttons/quote.gif (http://extjs.com/forum/newreply.php?do=newreply&p=218650)




#If you have any other info about this subject , Please add it free.#
Your name:
E-mail:
Telphone:

Your comments:


If you have any other info about winow not Maximizes.... , Please add it free.