Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IE question

6 views
Skip to first unread message

sjensen

unread,
Jul 28, 2002, 11:58:24 AM7/28/02
to
I'm hosting CHtmlView inside my app. How do I implement the drop down of
previous entries that IE displays for edit boxes when they are double
clicked on? It works in Internet Explorer but not when hosting CHtmlView.

Regards.


Jeff Partch

unread,
Jul 28, 2002, 1:00:09 PM7/28/02
to
"sjensen" <sjen...@cox.net> wrote in message news:AwU09.63842$jq5....@news2.central.cox.net...

You need to implement the IDocHostUIHandler interface and handle its GetHostInfo by setting the
DOCHOSTINFO::dwFlags member to value that includes the DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE flag.
For MFC version 6 reference and adapt the instructions in MSDN Article Q236312, "HOWTO: Disable the
Default Pop-up Menu for CHtmlView". For MFC 7, CHtmlView comes with its own implementation of
IDocHostUIHandler built right in.

--
Jeff Partch [MVP]

sjensen

unread,
Jul 28, 2002, 3:55:05 PM7/28/02
to
Fantastic! Thank you for setting me on track.

"Jeff Partch" <je...@mvps.org> wrote in message
news:eMescglNCHA.2584@tkmsftngp12...

0 new messages