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: Sat, 12 Apr 2008 23:41:16 -0700 (PDT),    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


setting resizable and status through IHtmlDialog2 interface - why can't I see its influence?   
The user pushed a button that opens a dialog (either modal or
modeless, it doesn't matter) through javascript command.
I access the IHtmlDocument, get its parentWindow -> and get the
"external" which implements the IHtmlDialog.

Now - What I need to do is to set the "resizable" and "status" to be
true or false...

When I use the IHtmlDialog->put_dialogLeft   , I can see the results,
hence the dialog does move to the new position. But when I try to use
IHtmlDialog2->put_resizable   or IHtmlDialog2->status, the command
succeed (return code is ok and also if I try to read the value after i
set it and i get the new value)  But I don't see the change in the
dialog.

HELP ANYONE????

TIA
Noa


This is what I'm doing:

// setting left
// ----------------
VARIANT left;
wchar_t *leftstr = L"200px";
left.bstrVal = leftstr
left.vt = VT_BSTR;
spdialog->put_dialogLeft(left);

// setting resizable and status
_bstr_t newal = L"no";
spdialog2->put_resizable(newval);
spdialog2->put_status(newval);
date: Sat, 12 Apr 2008 23:41:16 -0700 (PDT)   author:   Noa

Google
 
Web ureader.com


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