Context menu separator lines not showing in Windows 10


  1. Posts : 869
    Windows 11 x64 23H2 (22631.3155)
       #1

    Context menu separator lines not showing in Windows 10


    Hi,

    Since I started using Windows 8, I used a custom all in one context menu with separator lines between the subcommands menu items, but with Windows 10 the separator lines doesn't show at all.

    Any Ideas to how make the separator lines show again?
      My Computer


  2. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Polo6RGRTl,

    If you like, you can edit the .reg file from step 2 in the tutorial below to see how I added separator lines in the context menu.

    https://www.tenforums.com/tutorials/6...dows-10-a.html

    I placed this DWORD value in the key that I want the separator to appear above.

    "CommandFlags"=dword:00000020


    Hope this helps, :)
    Shawn
      My Computers


  3. Posts : 869
    Windows 11 x64 23H2 (22631.3155)
    Thread Starter
       #3

    Brink said:
    Hello Polo6RGRTl,

    If you like, you can edit the .reg file from step 2 in the tutorial below to see how I added separator lines in the context menu.

    https://www.tenforums.com/tutorials/6...dows-10-a.html

    I placed this DWORD value in the key that I want the separator to appear above.

    "CommandFlags"=dword:00000020


    Hope this helps, :)
    Shawn
    Thank you Shawn, it works.
      My Computer


  4. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #4

    You're most welcome. :)
      My Computers


  5. Posts : 19
    Win 10
       #5

    Brink said:
    "CommandFlags"=dword:00000020

    It doesn't seem to work for certain menu items loaded over shellex or including some special commands.
    Last edited by zamar21; 27 May 2018 at 14:04.
      My Computer


  6. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #6

    Hello zamar,

    That registry entry still works for me.

    If you like, post the contents of your .reg file to see if anything may stand out.
      My Computers


  7. Posts : 19
    Win 10
       #7

    Example - doesn't work since the command seems to be loaded over Shellex or the key includes a special command:

    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Display Settings]
    @=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
    00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
    69,00,73,00,70,00,6c,00,61,00,79,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,\
    00,00,00
    "Icon"="%systemroot%\\system32\\imageres.dll,-5374"
    "SettingsUri"="ms-settings:display"
    "CommandFlags"=dword:00000040

    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Display Settings\Command]
    "DelegateExecute"="{556FF0D6-A1EE-49E5-9FA4-90AE116AD744}"
      My Computer


  8. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #8

    Since you only have one item in the context menu and it's not an expandable context menu, it won't add the separator line.
      My Computers


  9. Posts : 19
    Win 10
       #9

    Its just a code snippet. I posted more here, as the solution is more complex than a typical beginner user would understand. However, using the same approach in a Reg key without @ command present works, as shown there. You're welcome to contribute, if you know how to fix remaining bugs.
      My Computer


  10. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #10

    Ah, I see.

    You would need to add the separator line registry bit in the item below where you want it inserted.

    In your example code posted there you would add it here below instead to show the separator between "Monitor 1" and "Monitor 2".

    Code:
    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Monitor 2]
    "Icon"="%systemroot%\\system32\\imageres.dll,-197"
    "MUIVerb"="LCD TV"
    "CommandFlags"=dword:00000020
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:04.
Find Us




Windows 10 Forums