Here is a minimization method achieved by re-creating its minimize function:
HTML:
JS:
function openWin()
{
if(!win)
{
win = new Ext.Window({
title:"Pop-up Window",
el:"divWin",
width:500,
height:300,
constrain:true,
maximizable:true,
closeAction:'hide',
minimizable:true
});
win.minimize = function(e)
{
this.hide();
Ext.get("aRestore").show();
}
}
win.show(Ext .get("btn"));
Ext.get("aRestore").hide();
}