Important alert: (current site time 7/16/2013 2:42:26 AM EDT)
 

winzip icon

LaVolpe Custom Windows II (Updated w/Help File)

Email
Submitted on: 11/25/2005 6:23:35 PM
By: LaVolpe 
Level: Advanced
User Rating: By 67 Users
Compatibility: VB 6.0
Views: 27064
author picture
(About the author)
 
     Many have asked for it & you'll see why this took so long to update/repost. Version 2 now allows 100% customization of the standard rectangle window. Over 100 properties/methods to choose from. And if you don't like the wide range of available options, the project is built to route drawing requests to your callbacks. This project is almost 7,000 lines of code & half again that much in comments. It has been tested well on 2K & 98, but project is so large I may not have caught potential bugs in all possible scenarios of options and settings. Kinda hoping you all will help there. Please let me know of any bugs found. Wow, this one was tough !!! Oh yeah, almost forgot. The project is a group, unzip using the option to Use Folders & open the .vbg file. Last Update: 12 Oct/20:25est. Fixed bug in NT4 where menus were not being read. Compiled hlp file now included. 25 Nov/17:10est. Fixed bug related to ActiveX controls; tooltips didn't display when compiled; minor patches & updated help file to include the help contents portion too. See iCoreMessages for complete update history.

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :LaVolpe Custom Windows II (Updated w/Help File)
'**************************************
Tons
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 72 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 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

10/8/2005 2:13:07 PMLaVolpe

Very large project with over 100 options/methods to play with. I spent some good time on the help file. Please spend a little time looking that over. If not, IMO you will not be able to use the project to its fullest potential.
(If this comment was disrespectful, please report it.)

 
10/8/2005 2:14:46 PMLaVolpe

Thank you to everyone that has given feedback in the past month. I have cleared all so I can easily focus on any new issues that may arise. This is the final version in my eyes & will update it only to fix bugs. All known bugs as of this date are squashed.
(If this comment was disrespectful, please report it.)

 
10/8/2005 6:46:08 PMLaVolpe

Bug found and fixed/uploaded. The system tray was not always intializing an internal collection which could cause error & crash if not compiled.
(If this comment was disrespectful, please report it.)

 
10/12/2005 9:49:55 AMLaVolpe

Potential bug being investigated with NT4. User says menus don't display. Anyone else with this issue on NT4? Thanx in advance.
(If this comment was disrespectful, please report it.)

 
10/12/2005 11:18:06 PMLaVolpe

^^Bug was valid. NT4 only. Menu bar captions were not being read due to a faulty flag value. Fixed & annotated in the change history within the project. Thanx to Richard Turnbull for that.
(If this comment was disrespectful, please report it.)

 
10/31/2005 1:35:08 PMmaghick

Sorry it took me so long to get to this - I hadn't checked PSC for months. Anyway, once again, you out did yourself and all of the VB world! 5*****^2, belated and retroactive.
(If this comment was disrespectful, please report it.)

 
11/4/2005 4:31:36 AMSimone

Great code, but it seems to me not working under Win98.
(If this comment was disrespectful, please report it.)

 
11/4/2005 9:29:36 AMLaVolpe

^^Discussions offline. I have Win98 & works fine. Awaiting reply & will post any necessary patches if needed.
(If this comment was disrespectful, please report it.)

 
11/22/2005 12:51:56 PMLaVolpe

Been 2 weeks since the Win98 issue above was posted & no reply from originator. Assume nothing to look at. However, another coder did report a bug that occurs under specific circumstances. Will post that fix later tonight & explain in project's history. Thanx Eric P.
(If this comment was disrespectful, please report it.)

 
11/25/2005 8:34:25 AMLaVolpe

Unresolved bug. When usercontrol event Loads/Shows a form & form is subclassed w/this dll, the form will not respond via keyboard. But a commandbutton opening the form has no ill effects. Still working this bug & is a bit hard to squash so far.
(If this comment was disrespectful, please report it.)

 
11/25/2005 5:03:13 PMLaVolpe

Bug now resolved. Documented in project.
(If this comment was disrespectful, please report it.)

 
11/26/2005 3:33:23 PMLaVolpe

^^new one found by me (minor). The tracking rectangles have option for tooltips. Don't use them yet. The window's tooltip class subclasses the subclassed window & is causing conflicts in drawing & potentially can lead to a crash. Investigating workaround/cause. This bug does not affect the tooltips for custom toolbar buttons. Weird since the tracking rects & toolbar buttons are basically the same thing in my code. More to follow.
(If this comment was disrespectful, please report it.)

 
11/29/2005 3:45:22 AMSteppenwolfe

There is a lot to look through here.. What I was thinking of doing was making a new form control, one with xp styles, (independant of OS ver), and customizable colors. Have you thought about doing something like that? Anyways, this will certainly give me a leg up on the api, thanks..
(If this comment was disrespectful, please report it.)

 
2/15/2006 8:42:20 AMWSC

This superb stuff! I shall learn and incorporate this knowledge in my own apps.
Thank you. Gave you 5 globes.
(If this comment was disrespectful, please report it.)

 
2/15/2006 9:06:49 AMkannan

LaVolpe.. There is a lot to learn from your code. Thanks for sharing this.

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

 
2/15/2006 10:21:41 AMLaVolpe

To all. Thanx for the positive feedback and bug reports. As is the case with all of us, we constantly learn more & more. One of these days, I will tear this down to rebuild it using new knowledge. The results should be the same, but will be done smarter. Should bugs be reported, I will continue to update this project here.
(If this comment was disrespectful, please report it.)

 
2/16/2006 4:33:20 AMDuzi, Huang

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

 
3/12/2006 10:46:14 AMBasak Karpuz

very interesting :D
(If this comment was disrespectful, please report it.)

 
5/16/2006 12:43:45 AMkbhrx

1st, WOW.....
2nd, Thanks for sharing
3rd, you teach me alot of new things
thanks alot LaVolpe
(If this comment was disrespectful, please report it.)

 
7/12/2006 11:04:21 AMkilll

Great work!

Hope you can make it best!
(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.