[EMAIL PROTECTED] wrote:
> So, is there any way to prevent the kind of "it just happens" that
> just happens to mess up the user experience at the same time? In
> win32 land, these constraints are usually implemented by responding
> to the WM_GETMINMAXINFO message that the OS sends right before a
> window's size changes.
polling workarround:
watchWinSize = function(){
this.lastWinSize = this.lastWinSize || {
outerWidth : this.outerWidth,
outerHeight : this.outerHeight
};
if(
this.lastWinSize.outerWidth != this.outerWidth
||
this.lastWinSize.outerHeight != this.outerHeight
) {
this.lastWinSize = {
outerWidth : this.outerWidth,
outerHeight : this.outerHeight
};
// call here your onresizeHandler
document.getElementById("DUMP").value += "r "
;
}
setTimeout(arguments.callee, 0);
};
window.onresize = function(){
document.getElementById("DUMP").value += "R ";
};
watchWinSize();
salute
Thomas
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout