add items to the start menu?
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
add items to the start menu?
is it possible to add items to the start menu?
i have figured out that i tuse a few "syslistview32"s, is there a way to hook the start menu thread (ive done that bit) and add items to the start menu, and then detect when they have been clicked?
i have figured out that i tuse a few "syslistview32"s, is there a way to hook the start menu thread (ive done that bit) and add items to the start menu, and then detect when they have been clicked?
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
If you create a shorcut in the C:\Documents and Settings\All Users\Start Menu directory it will appear on the left side of the Start menu under your Internet Explorer and Outlook icons. If you want your program to appear in the All Programs menu just create the shortcut in the C:\Documents and Settings\All Users\Start Menu\Programs directory. You can also create your own program group if you like by creating a new directory in the C:\Documents and Settings\All Users\Start Menu. You will get different results depending on if you are using the Classic Start menu or not.
-jb
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
well, jb if u put it in allusers\start menu, it will only appear on the left side wen the user has clicked it enough.....
more specifically, i would like to make a submenu bit on the right side, preferebly in the run command section
by submenu i mean like when u hav the control panel set to b a menu (in start menu properties)
more specifically, i would like to make a submenu bit on the right side, preferebly in the run command section
by submenu i mean like when u hav the control panel set to b a menu (in start menu properties)
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
i keep telling u people I DONT WANT IT IN THE START MENU BIT WITH ALL THE PROGRAMS i know how to add items to that bit, the bit u guys are all talking about is the bit that is under "all programs" in the picture that trond posted, i want this submenu BELOW the run command.
get it NOW?
get it NOW?
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
I found this tip. I haven't tried it yet but I think this may be what you are looking for. It should display your program under the Run... menu option.
1. Start up Notepad and create a new registry file (*.reg) and copy and paste the following into it:
2. Edit where it says YOUR ICON HERE to a path to an icon (ex. c:\\icon.ico), it must be 24x24 pixels and in *.ico format. Use double back slash for path names.
3. Edit both places where it says YOUR TITLE HERE to what you want it to say in the Start Menu (ex. PureBasic Forums).
4. Edit where it says YOUR FUNCTION here to what you want it to do when you click it, it can be anything... your website, a local HTML document, a program, a Windows funtion, whatever your imagination can provide (ex. http://www.forums.purebasic.com/english/).
5. Save this file as brand.reg, double-click it to enter in your information, and refresh Explorer (log off/on) to see it in the Start Menu!! This works in both Home and Professional (and probably 64-Bit Professional) Editions.
1. Start up Notepad and create a new registry file (*.reg) and copy and paste the following into it:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@="YOUR TITLE HERE"
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
@="YOUR ICON HERE"
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32]
@=hex(2):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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag]
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
"method"="ShellExecute"
"Command"="YOUR TITLE HERE"
"Param1"="YOUR FUNCTION HERE"
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex]
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@=""
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu]
@=""
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder]
"Attributes"=dword:00000000
2. Edit where it says YOUR ICON HERE to a path to an icon (ex. c:\\icon.ico), it must be 24x24 pixels and in *.ico format. Use double back slash for path names.
3. Edit both places where it says YOUR TITLE HERE to what you want it to say in the Start Menu (ex. PureBasic Forums).
4. Edit where it says YOUR FUNCTION here to what you want it to do when you click it, it can be anything... your website, a local HTML document, a program, a Windows funtion, whatever your imagination can provide (ex. http://www.forums.purebasic.com/english/).
5. Save this file as brand.reg, double-click it to enter in your information, and refresh Explorer (log off/on) to see it in the Start Menu!! This works in both Home and Professional (and probably 64-Bit Professional) Editions.
-jb
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
hey cool!
is there a way to have more than one item this way? or a menu that pops up when the item is hovered over?
btw for the icon u can use the same format as an autorun.inf file - "explorer.exe, 1"
is there a way to have more than one item this way? or a menu that pops up when the item is hovered over?
btw for the icon u can use the same format as an autorun.inf file - "explorer.exe, 1"
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
-
Philippe-felixer76
- User

- Posts: 57
- Joined: Mon Dec 18, 2006 2:02 pm
- Location: Holland
I do now a way to get it in the start menu bit with all the programs.lexvictory wrote:i keep telling u people I DONT WANT IT IN THE START MENU BIT WITH ALL THE PROGRAMS i know how to add items to that bit, the bit u guys are all talking about is the bit that is under "all programs" in the picture that trond posted, i want this submenu BELOW the run command.
get it NOW?
Well, don't keep us all in suspense.....what is it?Philippe-felixer76 wrote:I do now a way to get it in the start menu bit with all the programs.lexvictory wrote:i keep telling u people I DONT WANT IT IN THE START MENU BIT WITH ALL THE PROGRAMS i know how to add items to that bit, the bit u guys are all talking about is the bit that is under "all programs" in the picture that trond posted, i want this submenu BELOW the run command.
get it NOW?


