Context Menu

Discussion in 'Windows Desktop Systems' started by LoctOut, Aug 21, 2003.

  1. LoctOut

    LoctOut Guest

    I was wondering if anybody knows of a way to change the arrangement of items in the context menu, and to remove the seperators?

    For example, I'd like to put the various scanners together, group the file compressors etc

    the attachment shows what I have
     
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Thread Moved
     
  3. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I dont understand how to use ContextEdit. I have it open, now what am i soppose to do?
     
  4. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    Oh...Thanks dude!
     
  5. Ramanuman

    Ramanuman Guest

    If you find it, please tell me.
    Nothing in the help file's menu indicates, as far as I can see, how to do things like that...
     
  6. yoyo

    yoyo _________________

    Messages:
    1,557
    The folder context menu consists of elements taken from different sources. They are displayed in this order.

    In the first section items taken from
    HKEY_CLASSES_ROOT\Folder\shell
    followed by items taken from
    HKEY_CLASSES_ROOT\Directory\shell

    The items after the first seperator are taken from
    HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers

    The next sections are items from
    HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers

    The send to is taken from
    HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers

    The rest and the basic structure of the menu is written to
    shell32.dll menu 210 and 211 (properties).

    Seems it is not possible so far to resource hack these menus in shell32.dll. Every change breaks an item somewhere else, be it the status bar or what not. So no chance to remove the seperators.
    Only thing you could try is to move your context menu items between the different sections described above. Not a too easy job.