Click here to Skip to main content
15,170,331 members
Articles / Desktop Programming / Windows Forms
Posted 30 Aug 2007


53 bookmarked

xDockManager - Per Pixel Alpha Blend

Rate me:
Please Sign up or sign in to vote.
4.00/5 (10 votes)
30 Aug 20071 min read
xDock is a smoothly animated, per pixel alpha-blended application written in 2003
Screenshot - xDock2.gif


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 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

Download RocketDock: from

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


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

Comments and Discussions

QuestionWhat is the license of this project? Pin
Dainius Ba6-Dec-18 5:34
MemberDainius Ba6-Dec-18 5:34 
AnswerRe: What is the license of this project? Pin
OriginalGriff6-Dec-18 5:37
mveOriginalGriff6-Dec-18 5:37 
QuestionMy contribution Pin
tix3-Feb-13 22:47
Membertix3-Feb-13 22:47 
QuestionHow to Get The MouseClick on A Given Icon Pin
Bill SerGio, The Infomercial King28-Sep-08 12:42
professionalBill SerGio, The Infomercial King28-Sep-08 12:42 
Generalas a toolbar Pin
Chris_McGrath14-May-08 19:52
MemberChris_McGrath14-May-08 19:52 
Generalvs2003 designer "Error creating window handle" Pin
loheron19-Dec-07 5:06
Memberloheron19-Dec-07 5:06 
AnswerMerry Christmas together, I'll bring you solutions! ;D Pin
FanatiX25-Dec-07 13:16
MemberFanatiX25-Dec-07 13:16 
GeneralRe: Merry Christmas together, I'll bring you solutions! ;D Pin
khalidezzat31-Jan-19 5:59
Memberkhalidezzat31-Jan-19 5:59 
GeneralAbsolutely superb Pin
Sudhir Mangla18-Oct-07 0:14
professionalSudhir Mangla18-Oct-07 0:14 
GeneralRe: Absolutely superb Pin
Sudhir Mangla18-Oct-07 3:38
professionalSudhir Mangla18-Oct-07 3:38 
Generalvs2005 designer "Error creating window handle" Pin
Larry O'Heron24-Sep-07 5:13
MemberLarry O'Heron24-Sep-07 5:13 
Generalvs2005 designer "Error creating window handle" Pin
Larry O'Heron13-Sep-07 11:50
MemberLarry O'Heron13-Sep-07 11:50 
Questionget the code for other project Pin
reldes6-Sep-07 7:49
Memberreldes6-Sep-07 7:49 
Generalconversion to 2005 Pin
reldes6-Sep-07 1:10
Memberreldes6-Sep-07 1:10 
GeneralDescribe and Explain please Pin
robvon3-Sep-07 18:38
Memberrobvon3-Sep-07 18:38 
GeneralRe: Describe and Explain please Pin
Rajneesh Noonia3-Sep-07 22:47
MemberRajneesh Noonia3-Sep-07 22:47 
QuestionWhere's the article? Pin
Paul A. Howes30-Aug-07 14:33
MemberPaul A. Howes30-Aug-07 14:33 
GeneralReally nice... may be in c# [modified] Pin
zebulon7501830-Aug-07 5:29
Memberzebulon7501830-Aug-07 5:29 

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

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