Important alert: (current site time 7/16/2013 3:13:59 AM EDT)
 

winzip icon

Windows Blinds skinned rollover(hover) buttons, TipofDay, Date Time Stamp

Email
Submitted on: 5/16/2001 4:58:36 AM
By: Dana Seaman_  
Level: Intermediate
User Rating: By 51 Users
Compatibility: VB 4.0 (32-bit), VB 5.0, VB 6.0
Views: 36859
author picture
 
     Update 27-May-2001. Use these Windows Blinds, Adobe, & Neoplanet style skinned rollover (hover) buttons to brighten up your GUI. Button control by J. Pearson (Aug 2000 PSC). Hint: Put bmp's in resource file and load them into buttons at run-time in Form_Load. TipofDay & DateTimeStamp forms shows how this is done.

 
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 9 submission(s) by this author

 


Report Bad Submission
Use this form to tell 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 Intermediate 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
5/16/2001 8:24:41 AMTom Py

very nice. Just curious how much "overhead" vs. using the boring command buttons. How is memory affected?
(If this comment was disrespectful, please report it.)

 
5/16/2001 5:37:16 PMckirkwood

Very cool! I may use it in my next project! 5 stars
(If this comment was disrespectful, please report it.)

 
5/16/2001 11:20:39 PMDana Seaman

Tom Py,
The compiled control (OCX) is 100K. With just 2 images of less than 3K each in resource file you can load them into buttons at run-time.
(If this comment was disrespectful, please report it.)

 
5/17/2001 3:51:29 AMC. Sibon

Clever girl.
(If this comment was disrespectful, please report it.)

 
5/17/2001 5:46:06 AMLiam

Excellent! Some great ideas here and it is actually a damÑ useful project!

Can you beleive we cant say damÑ!

(If this comment was disrespectful, please report it.)

 
5/17/2001 1:27:05 PM^DaRk^

Wicked.. Takes a bit of overhead, but nothing too much.. I think its a job well done.. deserves to be a winner..
(If this comment was disrespectful, please report it.)

 
5/17/2001 6:48:22 PMatucker

Very nice Dana. I gave it a fin. One thing though, and maybe coders here will take up the challenge, is a skinnable button that responds as a normal button. That is, a button that depresses every time you click it when clicking in rapid succession. Image/Picture based buttons can't keep up. I've been unable to come up with a solution as of yet. If we can combine your technique with such a button we can be released from the bondage of vb buttons forever! Keep up the excellent work!
(If this comment was disrespectful, please report it.)

 
5/23/2001 3:21:42 PMTuomo Hepokangas

Very good! 5/5
(If this comment was disrespectful, please report it.)

 
5/28/2001 6:13:03 AMsupo

Great code! Thanks for sharing it
(If this comment was disrespectful, please report it.)

 
5/28/2001 6:14:00 AMsupo

Great code. 5 stars!
(If this comment was disrespectful, please report it.)

 
5/28/2001 6:26:55 PMDana Seaman

Finally was able to upload latest code. If you downloaded the older code consider updating. Faster button code and includes the new DateTimeStamp form (Vb6). Thanks for all the support and please vote.
(If this comment was disrespectful, please report it.)

 
5/29/2001 7:10:21 PMLee Trager

this is ok. 2 me its a very complex on mouse over. on mouse over change graphic play sound. i did something like this in java script for a friend.
(If this comment was disrespectful, please report it.)

 
5/30/2001 12:07:11 AMDana Seaman

Mouse_Enter, Mouse_Exit events are far more usefull than Mouse_Over. Also note Public InSound As Boolean which shuts off sounds globally.
(If this comment was disrespectful, please report it.)

 
6/17/2001 4:00:39 PMMark Lu

Before I download this and waste space on my 75 GB hard drive, does this work with everything. Includingg the control panel?
(If this comment was disrespectful, please report it.)

 
6/17/2001 11:20:11 PMDoctor Evil

To the above ïdiot, this file is only half a meg! Waste space on your 75 GB hard drive? I honestly think you have NO idea what you are doing.

And if you think that this skins the all buttons on your system, go use WindowBlinds. This is for making programs in VB.
(If this comment was disrespectful, please report it.)

 
6/21/2001 12:25:09 PMWalter Borges

Nice stuff man. However I've got a problem on my project with your ocx. Happens that I'm forced to use the right button of mouse to click. When I use left button, like that the event 'MouseOver' stay unterminated. So, it's necessary take mouse out over the button. The worst with this I can generate (that's the big problem) a lot of click events while with mouse is in focus on the button. What's going wrong? Is any patch to solve this bug?
(If this comment was disrespectful, please report it.)

 
6/23/2001 1:09:07 AMDana Seaman

Walter Borges. Put your code in the Mouse_Click event and make sure there is nothing in the Mouse_Over event.
(If this comment was disrespectful, please report it.)

 
12/15/2001 9:52:35 PMLogoWang

Excellent!
I have tried many image button , button shape, picture button source code and ocx, i find this is the number one NO.1 !
(If this comment was disrespectful, please report it.)

 
4/21/2003 4:10:10 AM

Where can I get the OCX, to make it work with the VB? can anyone help?
(If this comment was disrespectful, please report it.)

 
12/27/2003 1:23:47 AM

full color
(If this comment was disrespectful, please report it.)

 
12/1/2004 10:05:57 AMTheBigRedOne

Hey there, I know this comment comes at a very late time. But I just wanted to congratulate the author on such fine work... This problem had me stumped for a long time and I thought I had to use .NET and Flash to do this, but this truly is a great GUI solution for many old school VB people. Thank you for sharing the ideas. =)

Big Red
(If this comment was disrespectful, please report it.)

 
7/13/2005 1:51:14 AMFranco Zapata

It's very interesting!
Excelent Design!
5 points!
(If this comment was disrespectful, please report it.)

 
5/26/2006 4:51:24 AMJames

Excellent. 5 globes from me :-) keep the good work up!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.