Re: Modifying the context menu
- From: "Zach" <divisortheory@xxxxxxxxx>
- Date: 25 May 2005 08:11:20 -0700
Seems like this will work, except for two issues I can foresee:
1) How do I know what menu is about to be displayed? For example, if I
right click a submit button, all I get is Undo, Cut, Copy, Paste,
Delete, Select All, whereas if I right click a regular web page, I get
many more options including Encoding, View Source, etc. Moreover,
sometimes the options are greyed out and sometimes they are not.
Although I haven't implemented this method yet, I'm pretty sure the
menu I display may not be identical to the one internet explorer is
displayed, simply due to the greying out / enabling of various menu
items.
2) Where do these #defines come from? In the sample code on that link,
it has
#define IDR_BROWSE_CONTEXT_MENU 24641
#define IDR_FORM_CONTEXT_MENU 24640
#define SHDVID_GETMIMECSETMENU 27
#define SHDVID_ADDMENUEXTENSIONS 53
I grepped my entire Visual Studio include directory, but did not find
any of these anywhere.
Thanks again
.
- Follow-Ups:
- Re: Modifying the context menu
- From: Zach
- Re: Modifying the context menu
- From: Zach
- Re: Modifying the context menu
- References:
- Modifying the context menu
- From: Zach
- Re: Modifying the context menu
- From: Igor Tandetnik
- Modifying the context menu
- Prev by Date: Re: Modifying the context menu
- Next by Date: Re: Modifying the context menu
- Previous by thread: Re: Modifying the context menu
- Next by thread: Re: Modifying the context menu
- Index(es):