How to add an menu item to windows desktop menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • appub4u1
    New Member
    • Jul 2008
    • 1

    How to add an menu item to windows desktop menu

    how to add a menu item to windows desktop right click menu using C#

    (the menu which is comming when u right click on the desktop without selecting any file)

    I am using XP and in registry I did like this
    But it is not working

    HKEY_CLASSES_RO OT\Directory\Ba ckground\shell\ TestMenu\comman d

    can anybody tell about IContextMenu and QueryContextMen u function
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    There is no .NET function to add custom context menus to the windows environment. You will have to use win32_api functions to do that.

    Comment

    Working...