Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

How to enable form autofill when hosting browser control?

66 visningar
Hoppa till det första olästa meddelandet

Apollo EMC

oläst,
8 jan. 2001 20:24:092001-01-08
till
Hi,

I dont how to enable the form autocomplete functionality. I enable
the form autocomplete in IE's "internet options", but it works in IE
but doesn't work on my application which is using IWebBrowser2
control.
Could anybody give me a hint? Thanks a lot!

Tom

Nico Westerdale

oläst,
9 jan. 2001 12:50:522001-01-09
till
Never tried it but from looking at
http://msdn.microsoft.com/workshop/c-frame.htm?/workshop/browser/mshtml/refe
rence/ifaces/interface.asp
I would guess you want to grab the external attribute of IHTMLWindow2 and
look at AutoCompleteSaveForm. See:
http://msdn.microsoft.com/workshop/c-frame.htm?/workshop/author/dhtml/refere
nce/properties/autocomplete.asp

good luck

nico


"Apollo EMC" <apol...@yahoo.com> wrote in message
news:fKt66.1714$aX5....@e420r-sjo3.usenetserver.com...

Apollo EMC

oläst,
10 jan. 2001 19:49:202001-01-10
till
Thanks for your help!
But the AutoCompleteSaveForm is used to save form data, that is, save the
form data to the cookie file.
There must be another API for enabling form autofill. Basically, it'll read
the form data from the cookie
file and check for user input.

Tom
"Nico Westerdale" <nwes...@NOxSPAMraremedium.com> wrote in message
news:#FhUsVmeAHA.1588@tkmsftngp02...

Matthew Ellis

oläst,
13 jan. 2001 19:15:342001-01-13
till
"Apollo EMC" <apol...@yahoo.com> wrote in message
news:fKt66.1714$aX5....@e420r-sjo3.usenetserver.com...
> I dont how to enable the form autocomplete functionality. I enable
> the form autocomplete in IE's "internet options", but it works in IE
> but doesn't work on my application which is using IWebBrowser2
> control.

Have you checked out the DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE flag to
IDocHostUIHandler::GetHostInfo?

Matt
m.t....@bigfoot.com

Apollo EMC

oläst,
14 jan. 2001 21:12:092001-01-14
till
Thanks a lot, matt!
I tried
STDMETHODIMP CMySite::XDocHostUIHandler::GetHostInfo(struct _DOCHOSTUIINFO *
pInfo)
{
pInfo->dwFlags = DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE ;
return S_OK;
}

It works!

Cheers,

Tom

"Matthew Ellis" <m.t....@bigfoot.com> wrote in message
news:u#UJj8bfAHA.1776@tkmsftngp05...

0 nya meddelanden