Click here to Skip to main content
Click here to Skip to main content
Go to top

A Cool Way to Navigate Your 'Start' Menu that Integrates with your Desktop

, 3 Jan 2007
Rate this:
Please Sign up or sign in to vote.
A type ahead style combobox control contained in a desk band that builds lists of shortcuts from your Start menu

NOTE: For the latest news and updates, consider checking the official SmartStartMenu Web site.

smartstartmenu.jpg

Introduction

SmartStartMenu for Windows essentially gives you a way to turn the process of running almost any program into a two or three key-stroke effort. Maybe you are wondering why one would want to do that when you can just make a desktop shortcut or a 'Quick Launch' toolbar item and I'll tell you. SmartStartMenu lets you run almost *any* program that is on your 'Start' menu in just a few key-strokes... not just the ones you use the most. It shows you a matched list based on the criteria you have typed to help guide you in real time. Since it is based on your 'Start' menu, you can configure it through your 'Start' menu and reduce clutter on your desktop and your 'Quick Launch' toolbar. I like to use my desktop like a real desktop... I keep what I need for my current tasks at hand. I don't want my desktop all cluttered with shortcuts to programs. With a little tweaking of your 'Start' menu, you can configure any program that you want to be run by any three or four letter key-stroke that you want. As you type into SmartStartMenu, a type ahead style list is generated on the fly from your 'Start' menu. Select the desired item (or just press the 'Enter' key if the item is already selected) and the program is started just like you had selected the 'Start' menu item directly. It is actually VERY simple. You can also type a path to open Explorer, a Web site to open your browser, or a system command such as 'cmd' or 'mspaint'.

Demo Project

The demo project download is a quick way to take a look at the source code if you are interested. Suggestions and comments are appreciated. One thing that you may find interesting is the code used to decode and interpret the data in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist key of the registry. There are also some simple uses of the STL map and string classes, a simple 'desk band' Framework gleamed from Microsoft examples, sub-classes of both the MFC CComboBoxEx and CEdit classes that do some special key stroke processing to enable the type-ahead functionality, ROT13 decoding snippet used to decrypt the 'User Assist' data in the registry, and a performance oriented flavor of 'shortcut resolving' code that was helped along by the previous efforts of Igor Vigdorchik and his 'How to Create and Resolve a Shortcut' article.

Latest Release

If you just want to grab the latest release and start using the tool, click here. The download is a self-extracting setup. Just download and run it.

The code is pretty solid (and getting better all the time), but here is a list of known issues and future enhancements under consideration.

  • Issues
    • You must restart Windows after Upgrades.
  • Suggestions
    • Put icons in the dropdown list and edit control.
    • Hook into 'Desktop' search tools to find programs by name and add them to the list too.
    • Do a tray icon and pop-up the control when clicked.
    • Ability to omit shortcuts based on the file type of the target.
    • Support for 64-bit XP.
    • Impersonate user... "run as".
    • Command line merging and/or overriding.

Your comments are very important to me... do not hesitate to post suggestions and issues in the comments section below.

Using SmartStartMenu

When setup has completed successfully, you must RIGHT-BUTTON click within the clock area of your taskbar, select the 'Toolbars' sub-menu and then select the SmartStartMenu menu item.

If your taskbar is 'unlocked', you can resize the SmartStartMenu toolbar to display more information. You can also drag the toolbar to the top of the screen to get the maximum display area available.

For more information, get the help file by clicking here.

Upgrading and Uninstalling

When upgrading, it is necessary to restart Windows for the changes to take effect.

When uninstalling, it is advised that you hide the SmartStartMenu. If you fail to do so, the toolbar will continue to be available until the shell is restarted. While in this state, using the taskbar's 'toolbar' menu will cause an empty menu item to be displayed on the menu until you either select the menu item or restart Windows.

History

You can view the revision history here.

Credits

Finally

If I left out any details you think should be mentioned in the article, please let me know.

If you could take one last second to rate this article or even leave a comment, it would be much appreciated.

Thanks for reading!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Shaun Harrington
Web Developer
United States United States
16yrs of GUI programming experience gained at: (most recent first) BlackBall, Veritas, Seagate Software, Arcada, Stac, Mountain, and Emerald Systems.
 
Languages/Scripting: C, C++, JAVA, BASIC, JAVASCRIPT, HTML, XML, PHP, and SQL
 
Tools: MS Visual Studio, MS Visual SourceSafe, CVS, PVCS, Bounds Checker, VMWare, ToDoList, InstallShield, and Office Applications
 
Libraries and API: RTL, STL, WIN32, MFC, ATL, .NET, ActiveX, DirectX, COM, DCOM, Shell Extensions, and Shell Namespaces
 
Strengths: Honest, communicative, keen eye for usability, good at estimating workload and completion dates, ready to take on grunt work, team player, experienced working with QA, localization, Tech Pubs, Sales, and Marketing teams.

Comments and Discussions

 
GeneralCombo box does not appear PinmemberBob Flynn28-Sep-07 23:58 
GeneralRe: Combo box does not appear PinmemberShaun Harrington6-Oct-07 4:36 
GeneralRe: Combo box does not appear PinmemberBob Flynn6-Oct-07 11:45 
GeneralRe: Combo box does not appear PinmemberShaun Harrington7-Oct-07 5:16 
General64-bit version Pinmemberashishdange20-Sep-07 7:34 
GeneralRe: 64-bit version PinmemberPortatofe2-Oct-08 5:10 
Questionhow to erase the backcolor and set it to "transparent"? Pinmemberchinalinuxworld3-Jun-07 17:26 
AnswerRe: how to erase the backcolor and set it to "transparent"? PinmemberShaun Harrington4-Jun-07 3:56 
"I don't like the "green" backcolor ,only want to set it to "transparent" to fit the taskbar color ."
 
You can set it the desktop background color using the settings dialog. If you want to change the code you can change the vaule of BKGND_COLOR defined at the top of SimpleBarDlg.cpp or just remove the part of the code that drops a rectangle down under the combo... this can be found in CSimpleBarDlg::OnEraseBkgnd().
 
"when i use windows themes,can it auto fit?"
 
I don't understand the question.
 
-Shaun
 

 

AnswerRe: how to erase the backcolor and set it to "transparent"? PinmemberShaun Harrington4-Jun-07 3:57 
Questionwhere is msi.lib and srchband.lib Pinmemberchinalinuxworld29-May-07 17:21 
AnswerRe: where is msi.lib and srchband.lib PinmemberShaun Harrington30-May-07 4:36 
QuestionRe: where is msi.lib and srchband.lib PinmemberShaun Harrington30-May-07 4:42 
QuestionCan I filter some keywords, let say 'uninstall' Pinmemberedwinyeah15-Apr-07 23:11 
AnswerRe: Can I filter some keywords, let say 'uninstall' PinmemberShaun Harrington16-Apr-07 4:22 
GeneralRe: Can I filter some keywords, let say 'uninstall' Pinmemberedwinyeah16-Apr-07 16:19 
General1.54 is up!!! PinmemberShaun Harrington10-Mar-07 7:18 
GeneralCan't get SSM to work Pinmemberfkuykend9-Mar-07 14:08 
GeneralRe: Can't get SSM to work PinmemberShaun Harrington10-Mar-07 3:47 
GeneralRe: Can't get SSM to work PinmemberShaun Harrington10-Mar-07 6:08 
GeneralRe: Can't get SSM to work PinmemberShaun Harrington19-Mar-07 3:49 
Generallittle prob if you'll correct your search Pinmembern-av118-Feb-07 3:17 
GeneralRe: little prob if you'll correct your search PinmemberShaun Harrington5-Mar-07 9:17 
GeneralMultiple paths for ssmcmx Pinmemberneomember3-Feb-07 18:02 
GeneralRe: Multiple paths for ssmcmx PinmemberShaun Harrington5-Feb-07 7:36 
GeneralToolbar doesn't show up in the list PinmemberBluebill30-Jan-07 12:26 
GeneralRe: Toolbar doesn't show up in the list PinmemberShaun Harrington30-Jan-07 12:29 
GeneralRe: Toolbar doesn't show up in the list PinmemberBluebill31-Jan-07 13:52 
AnswerRe: Toolbar doesn't show up in the list PinmemberShaun Harrington5-Feb-07 7:39 
GeneralRe: Toolbar doesn't show up in the list PinmemberShaun Harrington5-Feb-07 7:40 
GeneralVista has this now PinmembermcstarSatx8-Jan-07 17:43 
General$0 vs. $300... dedede! PinmemberShaun Harrington9-Jan-07 4:15 
QuestionHow to quit the program PinmemberGeert Delmeiren8-Jan-07 2:18 
AnswerRe: How to quit the program PinmemberShaun Harrington8-Jan-07 3:57 
GeneralRe: How to quit the program [modified] PinmemberGeert Delmeiren8-Jan-07 4:20 
GeneralRe: How to quit the program PinmemberShaun Harrington8-Jan-07 5:04 
GeneralRe: How to quit the program PinmemberGeert Delmeiren8-Jan-07 5:20 
GeneralRe: How to quit the program PinmemberShaun Harrington8-Jan-07 6:10 
GeneralRe: How to quit the program PinmemberGeert Delmeiren8-Jan-07 10:39 
GeneralRe: How to quit the program PinmemberShaun Harrington8-Jan-07 10:54 
GeneralRe: How to quit the program PinmemberGeert Delmeiren8-Jan-07 22:33 
GeneralRe: How to quit the program PinmemberShaun Harrington9-Jan-07 4:20 
GeneralRe: How to quit the program PinmemberGeert Delmeiren9-Jan-07 4:31 
GeneralVery nice utility just a couple problems Pinmemberkschlueter22-Jan-07 13:45 
GeneralRe: Very nice utility just a couple problems PinmemberShaun Harrington2-Jan-07 16:45 
GeneralRe: Very nice utility just a couple problems Pinmemberkschlueter23-Jan-07 5:04 
GeneralRe: Very nice utility just a couple problems PinmemberShaun Harrington3-Jan-07 8:09 
GeneralRe: Very nice utility just a couple problems PinmemberShaun Harrington3-Jan-07 8:33 
GeneralRe: Very nice utility just a couple problems Pinmemberkschlueter23-Jan-07 11:56 
GeneralRe: Very nice utility just a couple problems PinmemberShaun Harrington3-Jan-07 15:25 
GeneralRe: Very nice utility just a couple problems Pinmemberkschlueter24-Jan-07 3:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 3 Jan 2007
Article Copyright 2006 by Shaun Harrington
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid