Ask a questionAsk a question
 

AnswerC# Shell Menu - Text menu?

  • Saturday, October 31, 2009 7:58 PMJoeGinley Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello everyone, i have been working on a project that will execute a command when the menu item is clicked under the shell menu. My problem is how could i get under the text shell menu? The menu i am talking about is when you open a text file, and when you right click on text or within that text file, not sure what that menu is called haha. Anyone ideas or example projects? Thanks!
    OMG, its Joe Ginley!

Answers

  • Friday, November 06, 2009 2:43 AMHarry ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    As far as I can see, the menu is a control of a text editor and can not be manipulated by other applications .

    Harry
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked As Answer byJoeGinley Friday, November 06, 2009 6:12 AM
    •  

All Replies

  • Monday, November 02, 2009 9:22 AMPieter Joost van de SandeMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Here is a great article on Codeproject that should answer your question: Simple shell context menu .

    while(!Asleep) sheep++;
  • Monday, November 02, 2009 5:31 PMJoeGinley Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have looked at that article before and it did help me but it only seems to tell you how to connect to a specific file type, and not the actual text within the textfile. So for filetype i have textfile, but the menu item shows for when you right click on a text file, but not the text within it. Do i make sense here?
    OMG, its Joe Ginley!
  • Friday, November 06, 2009 2:43 AMHarry ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    As far as I can see, the menu is a control of a text editor and can not be manipulated by other applications .

    Harry
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked As Answer byJoeGinley Friday, November 06, 2009 6:12 AM
    •