Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 25 May 2006 14:22:02 -0700,    group: microsoft.public.inetsdk.html_authoring        back       


Why would window resize not repaint properly?   
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?
date: Thu, 25 May 2006 14:22:02 -0700   author:   Harry Keck

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us