Click here to Skip to main content
Click here to Skip to main content

A Color Picker For Your Desktop or Internet Explorer Window

By , 3 Jun 2000
 
  • Color Picker Tool - 228 Kb
  • Logo - RBColorPicker.gif

    Screen Shots

    Activating

    Acessing through IE Menus - access1.gif Accessing through IE Toolbars - access2.gif Accessing through Desktop Toolbars - access3.gif

    In Use

    (Shows Docking to Desktop, Floating on Desktop, In IE as Toolbar)

    In Internet Explorer - toolbar.gif In Internet Explorer (Shows Delete Capability) - toolbar2.gif

    Color Picker docked to desktop - deskbanddoc.gif

    Color Picker floating on desktop - deskband.gif

    Introduction

    Why create another utility that will grab colors off the desktop? For a few simple reasons.

    • It is FREE.
    • Did not want screen space to be obstructed or to have a window that required to be moved around the screen to be used effectively, ie. Docking Toolbar.
    • Wanted a color history pallette.
    • Wanted it to be a click away.
    • Wanted it to be light wieght, compact, and efficent.
    • Did not want a large User Interface.

    All of these reasons are implemented in version 1.0.


    System Requirements

    • Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).
    • Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later).

    Features

    • Has a history pallette.
    • Can delete items off the pallette with the context menu.
    • Can dock the window to all sides of the Desktop.
    • Can float the window on the Desktop.
    • Works with Internet Explorer 4+.
    • Works under Windows 95, 98, 98SE, NT4, 2000
    • Takes up space already used by existing applications, Taskbar and Internet Explorer Toolbars.

    Known Issues

    • History does not save when using the Desktop version.
    • Multiple instances of Internet Explorer do not share the same color history
    • Grabbing colors requires the left mouse button to be held, preventing hot buttons from activating which prevents users from grabbing colors of hot buttons.
    • Second chevron drop down does nothing. This feature will be implemented in the next version.
    • Desktop docking version does not dock properly to left and right sides of screen.
    • Can't enter color value into edit box and have color value added to history or be displayed.

    Technologies Used

    • COM (IOleWindow, IDockingWindow, IObjectWithSite, IDeskBand, IPersist, IPersistStream, IDispatch)
    • ATL (CWindowImpl)
    • DeskBand ATL Object Wizard

    The Package

    The zip file above contains a MSI file containing the DLL and the helpfile. When it is installed using the Microsoft Installer, it will register the component for the desktop and as a toolbar inside Internet Explorer. The helpfile is accessible through Start | Programs | RadBytes | Color Picker. If you are under Windows 2000, you can uninstall it through Add/Remove Programs in the Control Panel. For those of you that do not yet have Microsoft Installer installed, I will be putting a EXE install version up on my website as soon as the router tables are updated. Or you can email me, and I will send you the EXE install version.


    Closing Remarks

    I created this component, because I wasn't completely happy with what was available and because I learned a lot from developing it. I wanted everything I implemented and more (next version). It is also something that any novice can use to experienced web developer; without getting a headache trying to use it. I hope someone out there finds this useful, let me know your comments. In the next version I hope to provide XML support, import/export abilities, additional pallettes and more. Enjoy!!!


    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Erik Thompson
    Web Developer
    United States United States
    Member
    Erik lives in Redmond, Washington. He works as a Senior Software Engineer specializing in C++, COM, ATL and the middle-tier and now .NET. When he isn't coding for work, he can be found trying to extend Internet Explorer with yet another Desk band or simplifying his development process with ATL Object Wizards.
     
    He spends his free time snowboarding, mountain biking, and online gaming.

    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
    You must Sign In to use this message board.
    Search this forum  
        Spacing  Noise  Layout  Per page   
    GeneralCould you help me,Ericmemberthompson27 Aug '02 - 19:05 
    GeneralRe: Could you help me,EricsitebuilderErik Thompson13 Nov '03 - 6:49 
    GeneralToolbar needed in IE client areasusstalex31 Jul '02 - 3:40 
    GeneralToolbar needed in IE client areasusstalex31 Jul '02 - 3:37 
    GeneralHelp neededmemberChob25 Apr '02 - 1:06 
    GeneralRe: Help neededsitebuilderErik Thompson25 Apr '02 - 8:33 
    GeneralWndProc for ToolbarmemberHeath30 Nov '01 - 6:24 
    GeneralImplementing MSHTML ControlmemberHeath22 Jun '01 - 8:42 
    GeneralRe: Implementing MSHTML ControlmemberErik Thompson29 Jun '01 - 8:37 
    GeneralRe: Implementing MSHTML ControlmemberHeath17 Aug '01 - 11:59 
    Generalsource codememberAmit Dey19 Apr '01 - 6:57 
    GeneralRe: source codememberErik Thompson19 Apr '01 - 7:14 
    GeneralRe: source codememberAmit Dey19 Apr '01 - 10:35 
    QuestionWhat's It For?memberBrian Hart19 Nov '00 - 19:04 
    QuestionArticle Rating and Reasons?sussErik Thompson5 Jun '00 - 13:54 
    AnswerRe: Article Rating and Reasons?sussBen8 Jun '00 - 21:13 
    GeneralRe: Article Rating and Reasons?sussRalph Krausse15 Jun '00 - 8:50 
    GeneralRe: Article Rating and Reasons?memberBrian Hart19 Nov '00 - 19:07 
    GeneralRe: Article Rating and Reasons?memberDiez11 Dec '01 - 1:44 
    QuestionWth is the source code?sussVarun Shoor4 Jun '00 - 3:25 
    AnswerRe: Wth is the source code?sussErik Thompson4 Jun '00 - 10:08 

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

    Permalink | Advertise | Privacy | Mobile
    Web04 | 2.6.130516.1 | Last Updated 4 Jun 2000
    Article Copyright 2000 by Erik Thompson
    Everything else Copyright © CodeProject, 1999-2013
    Terms of Use
    Layout: fixed | fluid