Click here to Skip to main content
Licence 
First Posted 30 Aug 2007
Views 34,298
Downloads 1,183
Bookmarked 44 times

xDockManager - Per Pixel Alpha Blend

By | 30 Aug 2007 | Article
xDock is a smoothly animated, per pixel alpha-blended application written in Vb.net 2003
Screenshot - xDock2.gif

Introduction

xDock is a smoothly animated, alpha-blended application that is similar to ObjectDock or RocketDock. The Source code provided here is not intended to replace products like ObjectDock or RocketDock. This is an incomplete project and some features need to implemented. The project gives and idea how these great products (ObjectDock or RocketDock) works using Vb.Net 2003.

Using the code

Below are one of major classes and interface used in above project:

DockManager

IDockItem

DefDockItem

DockInfo

DockManager is the collection of current IDockItem's.DockManager on paint calls paint method for each IDockItem Object with Zoom ratio and each DockItem in turn paint its icon on background bitmap.Later on this bitmap is assigned to form DockWindow.vb using UpdateLayeredWindow API.DefDockItem class is the default implementation of IDockItem interface.

However Developer can Implement the IDockItem to create docklets in separate assembly and then this can be pluged in to xDock.

DockInfo is the class which saves the current settings to ini file in application directory.

The PaintBackground Function in DockWindow creates the streatched background using the current selected Skin.The (GDI+) graphics Object is then passed to DockManager to paint the added DockItems.

Points of Interest

Note that ObjectDock and RockDock are free applications and you can download them from

Download ObjectDock : from http://www.stardock.com/products/objectdock/

Download RocketDock: from http://filehippo.com/download_rocketdock/

Keep a running update of any changes or improvements you've made here.

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

Rajneesh Noonia

Software Developer (Senior)

United Kingdom United Kingdom

Member

I am an Techinical Lead working with Seria India Ltd. (Previously Known as Xansa),Noida, India. I have worked with Microsoft Visual Basic 6.0 , SQL Server,COM ,WIN32 API. I have been playing with the .NET Framework since it was in beta but have been using it commercially since late 2004.

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

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionHow to Get The MouseClick on A Given Icon PinmemberGUI Developer11:42 28 Sep '08  
Generalas a toolbar PinmemberChris_McGrath18:52 14 May '08  
Generalvs2003 designer "Error creating window handle" Pinmemberloheron4:06 19 Dec '07  
AnswerMerry Christmas together, I'll bring you solutions! ;D PinmemberFanatiX12:16 25 Dec '07  
GeneralAbsolutely superb PinmemberSudhir Mangla23:14 17 Oct '07  
GeneralRe: Absolutely superb PinmemberSudhir Mangla2:38 18 Oct '07  
Generalvs2005 designer "Error creating window handle" PinmemberLarry O'Heron4:13 24 Sep '07  
Generalvs2005 designer "Error creating window handle" PinmemberLarry O'Heron10:50 13 Sep '07  
Questionget the code for other project Pinmemberreldes6:49 6 Sep '07  
Generalconversion to VB.net 2005 Pinmemberreldes0:10 6 Sep '07  
GeneralDescribe and Explain please Pinmemberrobvon17:38 3 Sep '07  
GeneralRe: Describe and Explain please PinmemberRajneesh Noonia21:47 3 Sep '07  
The source code provided is very simple but can be effectively used in win form projects.The goal of source code/article is to visualise the power of .net class and the features available in .net.The 3rd party free softwares are here used as example and i am promoting them to used by developer or users.The concept can be used to develop Custom controls or toolbars for any application.
Regards
Rajneesh

QuestionWhere's the article? PinmemberPaul A. Howes13:33 30 Aug '07  
GeneralReally nice... may be in c# [modified] Pinmemberzebulon750184:29 30 Aug '07  

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.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120529.1 | Last Updated 30 Aug 2007
Article Copyright 2007 by Rajneesh Noonia
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid