Google Groupes n'accepte plus les nouveaux posts ni abonnements Usenet. Les contenus de l'historique resteront visibles.

How to enable form autofill when hosting browser control?

66 vues
Accéder directement au premier message non lu

Apollo EMC

non lue,
8 janv. 2001, 20:24:0908/01/2001
à
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

non lue,
9 janv. 2001, 12:50:5209/01/2001
à
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

non lue,
10 janv. 2001, 19:49:2010/01/2001
à
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

non lue,
13 janv. 2001, 19:15:3413/01/2001
à
"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

non lue,
14 janv. 2001, 21:12:0914/01/2001
à
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 nouveau message