Addind Icon To Windows Context Menu Item
Hello,
I wish to add my own item to the winow context menu when user righ clicks on BMP file. I wish the item to have both caption and icon (like winzip have). I manged to add the item caption only. How do I set the icon?
I the item to the bmpfilehandler in the context menu: HKEY_CLASSES_ROOT/bmpFileHandler/shell/MyApp/Command Default=MyAppPath.exe "%1"
Thank you, Yonik.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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 ??
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 Item To The Windows Explorer Context
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
Add Item To The Context Menu
Hi all,
I need to add my item to the context menu of the system tray as shown in attached image. Please tell me how can I add item and get the click of the menu item.
Thanks.
Context Menu Item On Certain Files
I got a load of tutorials and examples off both the forums and the rest of the next for adding your own menu item to the context menus when you right click on a file.
All i want to do is have a menu item that says "Add to archive" when you right click on a .dff, .txd, .col or .ifp
Every time i try and add the registry entrie like in the tutorials nothing happens.
Below is the reg file im using.
Quote:
Originally Posted by My reg file
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDFFFileshell]
@="Add file to archive"
[HKEY_CLASSES_ROOTDFFFileshellContextMenu]
@=""C:\Documents and Settings\Dave Brennan\Desktop\IMG\IMG.exe" %1"
If anyone has any ideas or could point me in the right direction it would be great.
Thanks for any help,
-Dave
Context Menu Icon
Hi,
I want to add a menu item WITH ICON to the windows standard context menu (the one that appears when you right click on desktop or windows explorer).
Anyone knows about this?
Thanks
Add Icon To Context Menu
How to add an icon to right click menu when selecting a file or folder.
Installer is going to do this kind of stuff or I can just set it up in
registry? I already defined Directory/Shell/MyApp/Command to add context menu
but i don't know how to add icon.
Select Item In Context Menu Of Another Application
I want to know if there is any way 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?
Add Item To Explorer's Edit Context Menu ?
Can anyone point me in the right direction...
I want to add a menu item to the context menu (and then do an action) that appears if you right click in a document or in a textbox etc - the standard ones being:-
Undo
Cut
Copy
Paste
Delete
Select All
I need this to be available for any running program...
Cheers
Gavin.
Select Context Menu Item Of Another Application
I want to know if there is any way to invoke context-menu option 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 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 from the context menu.
Thought – I know something like this is possible for normal menu options that are there on top of 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?
Reply to hskohli@hotmail.com
Select Item In Context Menu Of Another Application
I want to know if there is any way 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?
hskohli@hotmail.com
Edited by - Harmeet_Kohli on 11/12/2003 8:59:06 AM
How To Activate Context Menu For Listview Item
I'd like to create a context menu that works like the one in Windows explorer.
I.e. when you right-click on an item
the listitem under the cursor should be selected
and a popupmenu should be desplayed.
So far it looks as if the Click event is triggered, no matter whether the left or right mouse button is clicked. (I need left-clicks for another purpose).
I tried trapping the MouseDown-event, but then I don't know how to select the item under the cursor (HitText returns Nothing).
Any help greatly appreciated.
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.
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)?
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.
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
Windows Context Menu
I can use
[HKEY_CLASSES_ROOT xtfileshellMyCommand]
@="MyCommand"
[HKEY_CLASSES_ROOT xtfileshellMyCommandcommand]
@="C:\WINDOWS\System32\myapp.exe "%1""
To add a right click context menu to explorer for filetype txtfile, with exception of adding the same entry for all registered filetypes in windows, does anyone know how to add a context entry so it displayes when ANY file is right clicked?
Windows Context Menu
I wasn't sure where to put this question, so I have put it in General.
My question is: In Windows, when you right click files, it comes up with a context menu and a number of options like add to zip file, rename file, etc... I know this is probably more of a windows programming question, but how is it possible to add your own items to that menu through VB?
I ask this as I have an encryption program and it would be useful if after it is installed, all you need to do is right click an item and choose decrypt to do exactly that.
Thanks if you can help.
Context Menu Handler With Windows XP Look?
I've have made a program with Visual Basic 6 and I used the InitCommonControls function and a manifest file to give my program the Windows XP look.
This works all fine for a stand alone application but not for my context menu handler dll. I've been searching through the google groups but I can't get it to work.
What I've tried to do is including the manifest in the dll's resource file as RT_MANIFEST but I can get this to work . I don't get any errors when I use the dll.
Perhaps there's anyone here who can give me a push in the right direction
Thanks in advance
Coen
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
Add Application To Windows Explorer Context Menu
Could someone help me please?
I need to add an application to the Windows Context Menu (right-click file --> Open with MyApp). I have Googled, VBCity'd, MSDN'd and Yahoo'd for the answer, but to no avail
Maybe someone has a snippet they have used?
Thanks
(VB6 please)
Criticism comes easier than Craftmanship
Whilst I try and answer every thread there is, I find most of my answers to your posts here:
[Posting Guidelines] | [FAQ's] | [The Chosen One] | [Knowledge Search] | [Richie's Wisdom Forum]
Edited by - rjhare on 4/11/2007 5:44:32 AM
Adding An Entry To Windows Context Menu
Hi all,
How can we add an menu with submenus to the exsisting windows context menu
Regards
Madeshwaran
Don't HURT the heart which LOVES You.
Don't LOVE the heart which HURTS You.
Windows Explorer Dynamic Context Menu Problem
Howdy all,
I have written an app that dynamically modifies the windows explorer context menu. It works on all files as I put my GUID into HKCR* (and HKCRAllFileSystemObject and HKCRFolder while attempting to debug this issue).
The problem is it doesn't work in My Computer, only Windows Explorer. Right click on a file in My Computer and I get bupkis.
I installed a couple of utilities that work the same way mine does and the registry entries are identical. Yet they DO work in My Computer and Windows Explorer.
I got my code and techniques from Hamilton's VB Shell Programming, Michael Dunn's article on The Code Project and a lot of sleuthing in the registry.
Is there something missing in my implementation?
Thanks in Advance,
Brad
Windows Explorer Context Menu In A List View
I have a listview populated with filenames
How can I display the standard Windows Explorer context menu when I right click on an item?
I'm sure I've done this before but can't find the code
Retrieving The Handle Of Windows' Default Context Menu
Hello people,
Does anyone know how to retrieve the handle of Windows' default context menu, you know, the one that says "Arrange Icons", "Line Up Icons", etc., no matter how hard I try I can not retrieve its handle. The GetMenu API doesn't seem to work for me, although I may be just doing it wrong can anybody help me??
..Icon Next To A Menu Item
Would any 1 direct me as to how to add an icon next to a menu item.. similar to what one usually has in &Open of File menus?
How To Add A Menu Item To The Windows Explorer Popup Menu?
Hi,
I have a feeling that this is going to be an API question, but I thought I start with this forum first..
Basically, what I want to do is to create a little VB app which I can launch by using the popup menu in the Windows Explorer. When I right-click on a folder, I want to be able to launch my program.
Any examples and ideas on how to do this would be greatly appreciated..
Dan
How To Place An Icon Next To A Menu Item
Hello. I'm sorry for asking this but for the last hour I've been looking for a simple answer to my question and can't find one.
Anyways, I am creating a menu on a VB6 form using the menu editor. (I know there's other controls out there that look way better - but I'm a little leary about using an .ocx I didn't create in my program - and I actually don't think the VB6 menu looks that bad).
How do I place an icon next to my menu item? I am aware of the "SetMenuItemBitmaps" API but this apparently only places a bitmap next to the menu item - whereas I would like to place the .ico file next to it. This is relatively easy to do right??
Add Icon To Main Menu Item In Vb 6.0
Hi All ,
I have tried many diffrent options
I want to add Icon /Picture to main menu
for eg
*File (main Menu)
Open (sub menus)
Save
I can add icon to sub menus suing GetMenu and SetMenuItemBitmaps
but how to add icons to topmost menu
Thanks
Add Icon To Main Menu Item In Vb 6.0
Hi All ,
I have tried many diffrent options
I want to add Icon /Picture to main menu
for eg
*File (main Menu)
Open (sub menus)
Save
I can add icon to sub menus suing GetMenu and SetMenuItemBitmaps
but how to add icons to topmost menu
Thanks
Add Icon To Right Click Windows Menu
hi there
ok heres what i need
I have added items to the right click menu in the windows context menu.
I would also like to add an icon to it, how do i do this.
I added the context entries wih some code i found here
VB Code:
REGEDIT4[HKEY_CLASSES_ROOT*shell][HKEY_CLASSES_ROOT*shellOpen with My Prog][HKEY_CLASSES_ROOT*shellOpen with My Progcommand]@="MyProg.exe %1"
Now thsi works ok, but i would also like an icon to be shown next to the menu item. Also, is it possible to only have the menu item show when it has been right clicked on a certain file type?
Many thanks
using vb6
Jamie
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!
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 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.
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
|