Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why would window resize not repaint properly?

2 views
Skip to first unread message

Harry Keck

unread,
May 25, 2006, 5:22:02 PM5/25/06
to
I open a modeless window in jscript like this.

m_objWindow = window.showModelessDialog

Later, I programmatically resize the window with dialogWidth and dialogHeight.

m_objWindow.dialogWidth = "0px";
m_objWindow.dialogHeight = "0px";

Later, I programattically resize the window again.

m_objWindow.dialogWidth = "1024px";
m_objWindow.dialogHeight = "768px";

After the final resize the top portion of the dialog, which contains an
iframe, shows properly, but the bottom portion of the dialog, which has an
ActiveX control, does not display. Not just the control is missing, I can
not even see the frame around IE. Under certain circumstances, if I click
enough buttons on the visible part, the bottom part will become visible.
Also, this only happens on about 50% of the machines tested. The rest of the
machines display properly, and I can not tell any difference in the
configuration of these PC's. What would cause a modeless IE window to just
not appear from doing a resize?

dNagel

unread,
Jun 3, 2006, 1:40:31 AM6/3/06
to

This sounds suspiciously like a timing issue. Is it possible that you are firing
events that cancel the requests for the component to load?

Theres a tool called fiddler that can help you discover whats going on.
It's a browsing proxy that intercepts everything going on between your browser and
ans server requests. It's very helpful.

hth,

D.

0 new messages