Re: Disable Context Menu Item
- From: "Kelly" <kelly.graus@xxxxxxxxxxx>
- Date: 18 Jan 2007 08:52:42 -0800
Thank you very much for the reply. Both overloading the
IPersistMoniker interface and using ITravelLogStg to update the history
list seem like a better method than keeping my own history list. I
will try one of those solutions.
As for subclassing the window, there are several things I was doing
that could be wrong. The first time the user right clicked, I was
getting the window and setting the window procedure to be my overloaded
one. I was also setting the user data to be a pointer to my web
browser class, which could be causing problems. In my overloaded
procedure, I would check for WM_INITMENUPOPUP, pass the message to the
default handler, then update the Back and Forward menu options. All
other messages I passed to the default handler. The result of this was
that after the first right click, the context menu would show up, then
the window would completely stop responding.
If you know why this wasn't working I would love to know (as I might
need to add in my own menu items at some point in time), however, I
will pursure one of the other options you mentioned to solve this
problem.
Thanks for the help!
.
- Follow-Ups:
- Re: Disable Context Menu Item
- From: Kelly
- Re: Disable Context Menu Item
- References:
- Disable Context Menu Item
- From: Kelly
- Re: Disable Context Menu Item
- From: Igor Tandetnik
- Disable Context Menu Item
- Prev by Date: Re: same effects with Flash 9 file
- Next by Date: Re: Disable Context Menu Item
- Previous by thread: Re: Disable Context Menu Item
- Next by thread: Re: Disable Context Menu Item
- Index(es):
Relevant Pages
|
|