Re: Disable Context Menu Item
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Wed, 17 Jan 2007 20:51:48 -0500
"Kelly" <kelly.graus@xxxxxxxxxxx> wrote in message
news:1169082101.727274.169860@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am using an IWebBrowser2 control in a C++ program (no MFC) to embed
an IE instance in window. One of the requirements is to be able to
load content from a stream, which breaks the history list in IE (since
it doesn't have a URL).
There is a way to load content from stream, but make the browser believe
it comes from a URL:
http://groups.google.com/group/microsoft.public.inetsdk.programming.html_objmodel/browse_frm/thread/fa57f1eebf880388
See also ITravelLogStg - it allows you to inspect/manipulate browser's
back/forward list.
I've read that I need to capture the WM_INITMENUPOPUP message and
enable/disable them in there. However, the window handle that I'm
passing to TrackMenuPopup doesn't "belong" to me, and my attempt at
subclassing it didn't work
Precisely in what way didn't it work?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: Disable Context Menu Item
- From: Kelly
- Re: Disable Context Menu Item
- References:
- Disable Context Menu Item
- From: Kelly
- Disable Context Menu Item
- Prev by Date: Disable Context Menu Item
- Next by Date: Re: same effects with Flash 9 file
- Previous by thread: Disable Context Menu Item
- Next by thread: Re: Disable Context Menu Item
- Index(es):
Relevant Pages
|
Loading