Re: Modifying the context menu

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: Random Numbers
    ... provided me some sample code for the use of dictionaries. ... intTmp = arr ... ''' uncomment this for testing ... take the frequency of the 1000 numbers and display on the top 20 ...
    (microsoft.public.excel.programming)
  • DVB/ATSC Sample Code
    ... Does anyone have any suggestions for pointing me to some sample code ... I would like to be able to display a non digital channel (i.e. channel ... Multiple digital TV cards (MyHD PCI, ...
    (microsoft.public.win32.programmer.directx.video)
  • RE: DataGrid - how to configure columns in C# code?
    ... You can download some sample code which illustrates the same here ... "Dmitry Bond." ... > I have a DataSet with some data to display in DataGrid. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Display multiple records on a single form
    ... I have an access/vba application I'm trying to extend. ... potentially have any number of records which I'd like to display on a ... this type of form and possibly some sample code (or a URL to some sample ... controls I'd need to use to facilitate this functionality, ...
    (microsoft.public.access.gettingstarted)
  • Re: Display multiple records on a single form
    ... I have an access/vba application I'm trying to extend. ... potentially have any number of records which I'd like to display on a ... this type of form and possibly some sample code (or a URL to some sample ... controls I'd need to use to facilitate this functionality, ...
    (microsoft.public.access.forms)