Visual Basic Stats:

How to support the site


Site Wide Message: (current site time 7/31/2010 5:37:39 AM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

sticky VB windows that stick to each other (like seen in Winamp)

Print
Email
winzip icon
Submitted on: 3/8/2010 8:23:56 AM
By: Louis Coder  
Level: Advanced
User Rating: By 3 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code  4010 times.
 
(About the author)
 
     this project contains VB forms and modules you just add to your application. The code makes your application's windows become sticky, that means they stick to each other and to the screen edges. You can restore the old stick configuration after program restart with one function call (uses Registry)! Easy to use!
 
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 Winzip to 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 3 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.).
This submission should be removed because:
 
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
3/5/2010 3:32:43 PMghie

The sample failed to load because there is no GFTaskBarInfo.bas in it, please upload the module...
thank you.
(If this comment was disrespectful, please report it.)

 
3/10/2010 6:54:41 PMghie

works great!
just as I expected.
Thank you very much for this code.
excellent rate from me.

1 (dumb) question, can I move the form more real-time, I mean like in winamp form, it moves with the mouse moves, not just jumping from Drag start point to drag end point?
Thanks in advance.
(If this comment was disrespectful, please report it.)

 
3/12/2010 7:32:04 AMIan Webling

ghie: look at http://vb.mvps.org/samples/descriptions.asp#FormPair
(If this comment was disrespectful, please report it.)

 
3/12/2010 12:49:41 PMghie

Thanks Ian, that's give me more input. but the code there works similar with Louis has.
it not moves like winamp does.
How to describe this... (confused)
if you have winamp, try to move it while all child windows attach to it, they (the forms) moves along with mouse, not just showing a form's boundary box moving along with the mouse.
I hope you guys understand what I mean...
Thank you :)
(If this comment was disrespectful, please report it.)

 
3/15/2010 11:44:03 AMCptnVic

Ghie: check out:
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=10571&lngWId=1
By: Russ Suter
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

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.
 
To post feedback, first please login.