Quick Search for:  in language:    
IDE,UpdateThanks,neal,added,support,maximize,
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 2,996,572. lines
 Jobs: 115. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Scare your Dutch friends with this program!
By Michel Hartog on 6/21


Code Genius
By Code Star on 6/21


Click here to see a screenshot of this code![~~ RGB Example ~~]
By Siebe Tolsma on 6/21

(Screen Shot)

Click here to see a screenshot of this code![A cool version of Nibbles!]
By Jason Liang on 6/21

(Screen Shot)

Unroll.
By Cyber Chris on 6/21


Click here to see a screenshot of this code!GIF (animated) viewer - user control
By Carles P.V. on 6/21

(Screen Shot)

Click here to see a screenshot of this code!Learn Your Astrological Sign
By Eren Okka on 6/21

(Screen Shot)

Click here to see a screenshot of this code!Burcunu Öğren
By Eren Okka on 6/21

(Screen Shot)

Click here to see a screenshot of this code!Draughts (Checkers) Board Game - 2 or 4 Players
By Pavcules on 6/21

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

TabDock Version 2.4

Print
Email
 
winzip icon
Submitted on: 4/1/2003 3:09:04 PM
By: Ackbar  
Level: Advanced
User Rating: By 40 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 4221 times.
 
(About the author)
 
     Update: Thanks to neal who added the support for the maximize like button which makes the docked window maximize along with titlebar appearing on the side on top/bottom windows. TabDock is designed to provide Docking support similiar to that seen in Visual Basic itself, VC++, and a number of other programs available on the market today. It was originally written by Marclei V Silva and though an excellent control it was somewhat on the buggy side and was missing a number of features. This version has many of the desired features and all the known bugs have been worked out of it. It also directly incorperates the ssubtmr.dll from vbaccelerator so it is no longer a seperate requirement. New titlebar drawing methods are offered as well to give you options on how titlebars are drawn, and bottom/top docking is done side by side instead of on top of eachother. Also a persistant option is included which allows the tabdock control to automaticly load it's saved state up for you. It saves it even if the persistant state is off but will only read it and use it if the persistant state is on. It uses the registry. Comments are welcome, and appreciated. You may modify and repost this code. The original author gave myself and Neal permission and the same permission is extended from us to you. This code is fairly advanced, and uses a lot of subclassing to achieve it's effect. Please note it is not recomended you close the IDE while running this through the IDE, it will likely crash if you do. Anyway enjoy :)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
4/1/2003 4:11:26 PM:
Why is this coming up as an .3 file 
instead of a zip?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/1/2003 4:12:51 PM:Ackbar
I'll reupload it but if you want just 
rename it to tabdock23.zip or something 
like that.  It's cause it was 
tabdock2.3.zip so psc bugged it and 
just put 2.3.  Sorry bout that.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 3:10:24 AM:J. Rostek
Cool Code 5 from me :-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 3:14:20 AM:Ackbar
Glad you like it :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 5:47:49 AM:Will Barden
Great :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 8:49:59 AM:Michael Canejo
Very nice code mate. I hope others will 
stop being lazy and vote while it 
downloads. Any vote is better than 
none. 5 globes from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 3:03:09 PM:Ackbar
Happy everyone likes it.  Any 
suggestions feel free.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2003 11:24:40 PM:Pete {vbAVI}
You've submitted a lot of great code in 
the few years I've been using this 
site!  Thanks and best wishes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/3/2003 4:51:46 AM:Zhu JinYong
Try to draw Caption bar on left or 
right side for bottom docked Windows 
with "Close" button.It will be great.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/3/2003 4:53:16 AM:Ackbar
That is one thing I've wanted to 
impliment but not been able to figure 
out.  Neither has neal.  No available 
documentation that I can find on how to 
pull it off.  Anyone know anything?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/3/2003 5:14:54 AM:Ackbar
Alas the one thing I do know is that 
part of the reason this can become 
difficult is because most docking 
utilizes a more frame method where as 
this is more litterly docking the forms 
to the mdi window instead of a frame.  
But... Maybe set the form to just plane 
borderless and different method of how 
it is placed in it's picturebox and 
draw a titlebar on the picturebox.  Not 
sure how hard that would be.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 1:37:18 AM:Ackbar
Vince if you see this would appreciate 
suggestions to improve it.  Votes are 
nice and all but fairly meaningless to 
me.  I prefer a comment for why you 
think what you think.  An excellent or 
good I suppose requires no comments as 
it obviously emplies they are happy 
with it as is.  But average implies you 
want something improved and I'd love to 
but you gotta tell me what.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 2:52:42 AM:
If anyone is interested I have now 
changed the Tabdock control to draw the 
caption bar on the left side of forms 
docked at the top and bottom. Also I 
have implemented a collapse property 
(i.e. if you click on a button on the 
docked window it will collapse any 
other window docked and make itself 
full size)
I can forward the code to 
Ackbar for update on the site if enough 
people want it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 2:54:43 AM:Ackbar
I would appreciate that myself.  Would 
be quite interesting to see.  Who wrote 
that message though.  Your name appears 
invisible :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 3:04:58 AM:Ackbar
Ah Neal nice to hear from you. Havn't 
talked in a while. I'd really very much 
like to see your improvments. Your 
awesome as a coder :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 8:18:24 AM:Dylan Morley
There's a simple bug in one of the 
Gradient OLE color properties, The 
Property Get for Gradient2 refers to 
Gradient1 & doesn't return a value...!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 11:38:22 AM:Phantom Man
To The Person Thats Changed The Code To 
Implement Collapsing. 
If You Truely 
Have Changed The Code Give It To Ackbar 
so He Can Implement It.
I Also Would 
Like to See It.
It Would Make The 
Control - Even Better Than It 
Is!
Regards 
Phantom Man!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2003 7:30:19 PM:Ackbar
He sent it to me and I will update it 
in about 15-20 mins. Just about to go 
eat dinner then your welcome to it.  It 
was in fact neal rushforth who did it 
also responsible for a number of the 
changes :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/5/2003 2:16:31 PM:
Hope everyone likes the additional 
changes to Tabdock I have made. Any 
problems don't hesitate to email.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2003 4:02:12 AM:Matthias Zirngibl
Wheeeeeeee
This is GREAT!
Thank You 
and 5 from me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2003 4:03:39 AM:Matthias Zirngibl
Is it possible to disable the close 
button of the docking windows?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2003 4:04:24 AM:Ackbar
Not atm but that wouldn't be to hard to 
impliment.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2003 4:17:57 AM:MArio Flores G
Never used before..cant make it to 
work..something is wrong with one 
missing reference or something..HELP 
:(
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2003 4:22:52 AM:Ackbar
What missing refrence? You did open the 
project group not one of the projects 
correct? Then you just run the default 
project which is the demo and shows how 
to make use of everything.  If you want 
you can then compile the control from 
the controls project and make use of it 
in your own apps.  Enjoy :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/9/2003 12:55:14 PM:Phantom Man
Ackbar
If Your Interested I Have 
Made an Update To TabDock.
The 
Following Has Been Added Or 
Ammended:
My Version Of TabDock Now 
Has New Properties - HasCloseButton and 
HasMaxButton.
Enabling The User To 
Display The Max Only Button Or The 
Close Only Button Or Optionaly Both Or 
None.
If The Docked Form Has The 
Close Button Property Is Set To False 
The Form When Floating Has The Close 
Button Disabled!
The Splitter Bar Is 
Improved.
Gripper Bar Placement Has 
Been Improved
Plus More!!
If You 
Want It Email Me Your Email Address And 
I Will Send It To You!
Regards 
Phantom Man
gwnoble@msn.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/9/2003 9:46:26 PM:
Cool code but was wondering how one 
would get  rid of the close button when 
docked but it appears when it is 
undocked as if it were a dockable 
toolbar/toolwindow
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/26/2003 8:31:30 AM:Peter Wilson
5* from me because you got gazumped by 
NR/GN.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/28/2003 10:17:14 PM:Spodii
5 *****! W00t Ackbar! The CREATOR! =P
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/29/2003 5:55:10 PM:Llama Boy
I have yet to use it, but from what 
I've read, I cant wait.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.