setting resizable and status through IHtmlDialog2 interface - why can't I see its influence?
- From: Noa <nlevin@xxxxxxxxxx>
- Date: Sat, 12 Apr 2008 23:41:16 -0700 (PDT)
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);
.
- Prev by Date: Re: How can I know when the URL I specified to Navigate method get loaded?
- Next by Date: Re: how to gt IHtmlDialog from IHtmlDocument ?
- Previous by thread: Can i separate persistent cookies from IE?
- Next by thread: How to disable the clicking sound when Navigating?
- Index(es):