Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




How Easy Is It To Add To Context Menu (right Click Menu)


I'd like to be able to add to the context menu (right click menu), how is this possible? and is it restricted to the application i.e I'd like to add one to an Excel sheet and one to normal windows operations




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Disable MDI Parent's System Context Menu Right & Left Click Menu Pop-up. How?
I am trying to do this without much luck, but managed to get rid-of the Min/Max buttons via an MS example at the link below.

http://support.microsoft.com/default.aspx?scid=kb;en-us;137033

However, when a user right clicks on-the MDI parent's Caption bar, a popup up menu appears - Woud like to prevent that.

Secondly, if a user "LEFT" Click on the top Left corner of the same Caption bar (where the Icon appears); it pops the same Pop-Up Menu - Like to stop that.

Thirdly, If a user double clicks on the same menu bar, form flickers, bobs down & up (Min & back to Max state), looks back at you and say's "fooled Ya!", as if it was possessed by some sort of strange evil code. Now I Would really, really, like to make it stop doing that.

Basically, like to prevent any mouse action on MDI Parent's Title Bar. Searched for couple of hours in vain (pain), but nothing turned up for what I am looking for. I can stop the right click on the form it-self by detecting mouse down button, but that’s not preventing the click event in MDI parent's title/caption bar.

Anyone know how or what needs to be done to get this to work? Any and all help, suggestions, etc. will be greatly appreciated!

Add Custom Menu Item To Windows Right Click Context Menu ????
Hi everyone

Earlier today there was a thread with this Q in it but it wasnt ever resolved. What i want to do is add my own custom entry to the windows menu that pops up when you right click on an something in particular to the edit menu. So when you select some text no matter what app your in it has my custom menu option in it along with the usual copy and paste and what not.

Can this be done

If so how and where do i start ??

Right-Click Context Menu
if you know how to edit the registry, u can change a few items on the context menu.
if you like contact me
ICQ# 29792493

Right-Click Context Menu
if you know how to edit the registry, u can change a few items on the context menu.
if you like contact me
ICQ# 29792493

Right Click Context Menu
I am currently coding a filemanager in vb6 and i am needing a way (or better yet a ready to go module) that will allow me to add explorer's right click menu to the files displayed. I know i will need the extended type library for ishellfolder and mallocs, but i am quite confused on how to go about doing this(edit: coding, not using extended type libraries) in vb, any help will be much appreciated.

Right-click Context Menu Customization
What is the name of the right-click context menu in Excel (i.e., right-click on the spreadsheet)? I would like to add my own menu entries (or one cascading menu) to this menu. If this is possible, does a VBA routine run from this menu receive (or have access to) information about the related cell range (i.e., the one that was right-clicked on)?

Context Menu(right Click) Over A Vb Web Browser?
im pritty sure this can be done but unsure how

i tryed

Sub WebBrowser1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then PopupMenu mnuWeb
End Sub then in the menu editor i had the context menu that i want to call. but all this does is just call ie context menu. any help would be great thanks

----

p.s does any one no where i can download some good web browser icons. i.e for back/forward/stop/refresh etc

Sendkeys, The Context/right Click Menu
Whats the code to bring up the context menu(the one you see when you right click)

Thanks

Right-click, Context Menu In All Window ??
HI
Where can I find how to put menu into right-click, context menu
see the Photo.

Right Click Context Menu Issue
I have a project that displays several data items within a frame, and in a number of text boxes within that frame.

I have it set up to respond to left and right mouse clicks anywhere within the frame, and need it to respond identically no matter where within the frame and no matter what control the mouse is over when clicked. ( ie want only one mouse click function for the entire area ).

The left click works fine and the right click works fine unless over a text box, where I get the standard context menu popup.

In forums, I find the 'best' approach of subclassing the text boxes to kill the menu. I have tried placing a transparent label over the entire area and setting its zorder to insure that it is on top. Why does the top label control not catch the mouse click, rather than pass it thru to a text box below??

Windows Right Click Context Menu
Hello,

This is not exactly VB I think but ...

How can I add my program to the right click menu (preferably, only when user clicks on a bitmap)?

Thanks for any help

- Jake

Dynamic Right-click Context Menu
Hi,

How do I write dynamic right-click context menu like winzip for e.g

Thanks

Supress A Righ Click Context Menu
I want to use a right click for something else in a text box but in XP the Cut, Copy, Paste, etc. menu appears over what I'm trying to bring up. How do I supress that menu.

How To Detect Item Chosen In A Right Click Context Menu?
When you right click on a textbox, you get the cut,copy,paste, and delete context menu. How can I detect which of these choices was selected?
I need to create a text validation on what action was taken, but validation only happens when you move off the textbox. So if a user should close the app or refresh the app, I can detect what action was taken and validate it.

Adding An Item To Default Context Menu For R/click On App Title Bar
How do I add an item to the default context menu of a Window(s).. The right click on an app title bar or Task bar icon.. (Restore, Move, Size, Minimize, Maximize, Close)
I want to add a few things to it like 'OnTop' and 'Hide' and a few other things.. I can do everything but the adding to the context menu.

Adding An Item To The Right-click Context Menu Of Network Neighbourhood Computers
Well, read the title!

Is there any way of adding a custom link to my program to the right-click menu of computers on a LAN in Network Neighbourhood?

Kinda like a link which passes the name of the computer onto the proggy ... ?

Right-click Context Menu To Forward Email To A Specific Address In Outlook 2000...
Hi,

I'm running Outlook 2000, and I wanted to be able to right-click on any email I've received (in any of various folders) and select a menu item that says 'Forward', and it will be forwarded to an email address that I'll specify in the VBA code.

I saw on this forum (at http://www.vbcity.com/forums/topic.asp?tid=9974&highlight=Outlook ) some VBA code that allows forwarding emails, and set it up so a button on the toolbar called the send function, but it didn't do anything (no error, no email forward, nothing). I'm not sure why... I followed the author's directions exactly. Perhaps it's my security settings (Outlook set to use Restricted Zone, Restricted Zone set to disable everything). I can not lower security to accomplish this email forwarding thing, though.

Anyway, I'm a VBA oldie who's forgotten most of it, so I'm for all intents and purposes a VBA newbie. It's amazing how much you can forget when you stop using a programming language.

Thanks for your help.

Darren

Popup Menu, Context Menu Dynamic Creation?
Hi everyone,

i used the google search and the forum search but i didnt find any suitable result.
What i want to do:
i want to display a popup menu which is dynamic created from an xml file. i read the xml file to my own private type structure and now i want to display a popup menu. the only, as i think very ugly way i found is sevpopup menu active x. the problem with that menu is, that in every way there is a space for icons in menu which i dont have and the other problem is that i want to copy and not to install the application.
Really important for me is that i can create submenus!

Thank you all for help!

buechse

How To Add Menu Item To The Windows Explorer Context Menu Using Vb6
Hi,

Can anyone please let me know,
How to add my application item "Run My application" to the windows explorer context menu and on right click-> click on this item , i need to run my application. How can i do this using VB6? its exactly like winzip and other programs doing. First thing is i want to add to the context menu of windows explorer and on click my item, i need to know on whick item user selected this option. I need to do this in VB6. Please help me in this regard.

thanking you

Praveen

Adding Menu In Desktop Context Menu
Hello,


Is a way to add your own menu in the desktop context menu as Nvidia drivers done, please?


Thanks in advance.

How To Add Menu In Windows Explorer Context Menu
hi again,

I would like to add my custom menu to windows explorer.

some what i know that i need to add key entry into registry. and i did that. but it did not work

can any one help me..

Thanks in advance.

meena

How Do I Design A Context Menu (Popup Menu) In VB?
Hi,

I want to design a popup menu for a form in VB. I already have a menu for the form. This menu is displayed below the title bar. When I try to use the Menu Editor, it only lets me edit this menu. I want to design a new menu which will popup like a context menu. How do I do this?

Any help would be greatly appreciated.

Add Menu Item To Context Menu
How can I add a sub menu to the popup menu that you get when you right-click the desktop (similar to the attached picture)?

Add Our Menu To System Context Menu
Hi everybody,

How could add menu and binding related action to our existing system Context menu such like WinZip and so on.

How To Create A &"right Click&" Context Menu
How do I create a "right click" context sensitive menu in VB6?
(like the one you get when you right click on this page and get a dropdown
menu of "Cut, Copy, Paste" etc.)

I can't figure out what control I'm supposed to use.

Thanks !

How Can I Click The &"context Menu Key&" On Another Window?
how can i click the "context menu key" on another window?

Clicking Picturebox Show Menu, Click Elsewhere Disappear Menu
Hello Everybody,

I've soem pictureboxes, and I want to show too command buttons when you click on on of the images but if you click somewhere else I want to make them dissappear, I tried the form_click event, and from_mousedown even, but they only work when you click on the form, but I've loads of other things on it, so the user must be "lucky" to click on the form, but to put the code to make them disappear in every object of the form would take a lot of time and I wonderd if there was another way to make them disappear again after clicking on something else???(its not that I don't want to ut the code there because of the work, but if I didn't search for a better methods then I would stay at the same level of programming)

Runtime Menu/Right Click Menu/No Border Form
Ok, I am trying to make a form as small as possible. I turned on the boreders and its just the way I want it. Now I would like create a popup menu (to save space, instead of puting command buttons). The problem is, when I add an invislbe menu in the menu editor and try to use Popupmenu, borders and the title bar appear on my form even though borders are still set to none.

From the search I did there seems to be no way to create a run time menu without some APIs. Is there any other way to accomplish a right click menu in this situation? Thanks.

Adding Menu's In Windows Explorer Right Click Menu
Could anyone tell me how you can put a menu item of your own in, for example, the right click menu in windows explorer? I know it's possible , is anyone there listening to me ????? PLEASE HELP !!!!!!!

Popup (right-click) Menu From Standard Menu
I've searched and searched and cannot find any information on how to get a pop-up menu to appear when you right-click on a standard menu item. A classic example of this is in Internet Explorer's Favorites menu. If you right-click on a favorite, a popup menu appears and you can rename, delete, etc. the highlighted favorite. In VB6, accessing a menu item does not appear to fire the MouseUp or MouseDown events. Any thoughts?

How Can You Add The A Menu To An External App, Or A Right Click Menu Addon?
Like lets say i wanted to add a menu to outlook express, or to a right click menu popup.. anyone know how to do it?

MDI Frm Menu, And Right Click Menu Problems
I have a MDI form with a Menu Bar, and a Right Click Menu that work fine without any Child forms. But once I load a child form on the MDI form, the Menu Bar is Empty(Just a gray line). And the Right Click Menu doesn't work anymore. Please help!!




Edited by - Krum on 9/4/2003 5:13:15 PM

Context Menu
how do u make a right click menu on VB6

Context Menu
How i can get my application name in system context menu when right click on a file and on click opens that file in my application? Like winzip.

Please give me some suggestions.

thanx

Context Menu
I want to know how to invoke item in context-menu of another application.

Situation: I have an application which is a data window with “SysListView32” class. When I right click inside this window, the context menu pops-up and there is a option to copy the data, which basically gets copied to clipboard.

Problem: The problem is that the the ‘copy’ option of the context-menu doesn’t have ‘Ctrl+C’ option so sendkey doesn’t copy data from this window.

What I want? – I want to know if there is any other way where I can get menu handle or menu-id of one particular option within context menu. I want to send message to this window and achieve the result that would happened when ‘Copy’ option is selected within the context menu.

Thought – I know something like this is possible for normal menu options that are there on top of the window, like you can SendMessage to menu-id.

Can a similar this be achieved for auto selecting a particular option of context-menu of another application?

Would appreciate help on this one?

Context Menu
Hi all,

I want to write an application in VB 6.0, it automatically calls a context menu item of a control in .net application (It looks like we right-click on that control and choose a menu item when the context menu appeared).
Everyone who know it, help me pls.

Thanks in advance,

Context Menu In The .exe
Hi.
There are some programs that when you click on their .exe file, the context menu that is displayed has some uniqe options. For example WinZip has those: "Compress to Zip File" "Compress Ass..." etc.

How can i do that?

Thanks

IE Context Menu
Hi

I'm trying to implement my application to the internet explorer context menu. I managed to show the title of my application in the menu but there is no action using these registry keys:

HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMenuExt&MyAppl
(Standard)=P:WorkvbMyAppl.exe
contexts=1

What I'd like to do: As you click the menu entry, my application will get the url of the current page (or frame) like the way you can read it out in the properties.

Can anybody help me or give me some hints?

thanks and regards
Xdream

Context Menu
I have a question here. I need to know how to make a custom context menu, like when i right click on an item in a list box for example, a context menu with stuff i want on it will appear.

Abt....Context Menu
hi

i have 2 thing...

first i need to add my app shortcut with icon to windows SendTo option....

and the next i need to call the SendTo menu in my app... the existing all shortcuts in windows.

i tried making entried in register but that seams of no use... may be not at correct level.

Context Menu In IE
i want my app to do somethings with Internet Explorer pages..the best way is actually having menu's in the ie's context menu..and i already did that..i already created the menu but now i want to know how to use it:
http://msdn.microsoft.com/library/de...ls/context.asp here says that i must put a link to a script..but how do i make the script..? can the script be made in vb6? and in vb.net?

im a little desesperate about this for help..
any help appreciated

Context Menu
Hi,
How do i add a menu to the windows context menu similar to WinZip where you can right click on a file and click on "Add to Zip".

Some code(module) would be appriciated.

Thanks

Swf Context Menu
Does anyone know a way to disable the context menu which appears when you right click on a swf? In the control's properties, you can disable everything except for the last selection.....which is a link to Macromedia's website. My goal is preventing users from opening up I.E.

I've tried using a webbrowser control instead of the shockwave control to display the swf. With this I used Bloodeye's code to disable right click in a webbrowser, which worked w/ html pages, but not when the url was a non-embedded swf.

any ideas?

Context Menu
Hi all,
I have made a usercontrol that show files/folders from a specific path using a ListView control.
Is possible to show the context menu for my file/folder with a right click, like Windows?

Thanks to all

Context Menu
Hi,

suppose I've popped up a context menu

now the menu is open

but it wont close until I do a left click somewhere outside its area. What I want is on rightclick outside the are to reopen it again on the new position.

Any ideas?

Thanks


Valery Iskarov Nikolov
Software Dynamics

Context Menu
I have a problem displaying underlined symbols in Context Menu under Windows 2000. Everything is fine if I run application under WinNT 4.0.

CMenu menu;
if( menu.CreatePopupMenu() )
{
menu.AppendMenu(MF_STRING, ID_MY_ID, (LPCTSTR)_T("&MyMenu1") );
menu.TrackPopupMenu( TPM_LEFTALIGN | TPM_RIGHTBUTTON, 100, 100, this );
}

Context Menu
Hi! In my application there are many textboxs , and how can I make the context
menu do not visible when user click mouse right button in the textbox ?
Thanks !

Context Menu
When I right click on a maskedit box, windows default popup menu (Cut/Copy/Paste/Undo/Select All) is displayed. I want to disablel this popup menu. I know that this can be done if I invoke another user made dummy menu. But I don't want any kind of menus.

Software Engineer
Bangalore

Context Menu In NT
Hi,
I am making a submenu in context menu of the explorer. For that I am using the API calls for InsertMenu etc. The code is working fine for all the OS except Windows NT. In NT it makes the submenu and the icon associated with the menu but the text of the menu does not appears. Even the functionality of the menu is working properly.
Does anyone have any idea about it ?
Please reply soon
thanks in advance
Mayank Kumar

Copyright © 2005-08 www.BigResource.com, All rights reserved