Important alert: (current site time 7/16/2013 2:47:34 AM EDT)
 

winzip icon

Outlook 2003 SideBar V2.02 Alpha (*Updated 10/02/2005*)

Email
Submitted on: 2/8/2005 9:29:21 AM
By: Phantom Man 
Level: Advanced
User Rating: By 37 Users
Compatibility: VB 6.0
Views: 40657
author picture
(About the author)
 
     A complete new rebuild of my award winning EyeDropper Control. Now a 100% Dependency free control. Better Drawing, Better Font handling, No Dependencies, Better menu Handling... to many to mention. The control now uses subclassing from Paul Caton (thanks Paul) And the cMemdc for drawing From Vlad Vissoultchev (Thanks Vlad) Awesome code From two very talented programmers. Take a look and tell me what you think. As Always comments and constructive critisim is always welcome. Note: 1) You MUST Copy the WinSubHook.tlb Located in then tlb folder to you system folder. 2) The Control Doesn't Support 32bit Alpha Icons As Yet (Vlad If You have Any Idea on how to do this - I Would Be Very Interested indeed) Regards Gary ___________________________________________________ Update: 09/02/2005 Resizing Of Containers Where Causeing A Flicker. Now Sorted. Toolbar Items Now Draw And Display The Same As The Original MSOutlook Sidebar. ___________________________________________________ Update: 10/02/2005 Disabled Icons Now Render To Grey. Fixed The Max Visible Items On Redraw/Resize. Fixed Toolbar Drawing (Icons Not Displayed Correctly When Sizing. Added Custom Color Property(As A Trial). Enjoy. Thanks Gary

 
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 6 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
2/8/2005 9:38:51 AMNoel H

Brilliant. Expertly Coded.

Thanks for sharing.

I would give you 10 balls if i could so you'll have to settle for 5.
(If this comment was disrespectful, please report it.)

 
2/8/2005 10:25:18 AMSteveDude

Great Control, but it could hardly be called 100% Dependency free if you have to distribute the TLB file.
(If this comment was disrespectful, please report it.)

 
2/8/2005 10:55:01 AMRECTUM OF ANAL

Very difficult to win!!!!!

Non-developers don't have winsubhook.tlb If you lucky to place on Install.exe then it won't be problem.
winsubhook.tlb is problem.


I have question for programmers. Why do you all use fake names & no email addresses?
(If this comment was disrespectful, please report it.)

 
2/8/2005 11:00:13 AMMike Douglas

I suppose thats your given name Mr Anal? BTW- Beautiful work Phantom, cant wait to try it out.
(If this comment was disrespectful, please report it.)

 
2/8/2005 11:00:34 AMPhantom Man

Rectum

Note:

1) Very Difficult To Win. Don't Know What You Mean.


2) The WinSubHook Is In The tlb folder When You Extract The Code.


3) My Name Is Gary And My Email Address Is Not Missing.

4) When Compiled You Don't Need To Distibute The tlb As It Gets Injected Into The Control When You Compile It.

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

 
2/8/2005 1:39:56 PMDimitris Anoyatis

I thought this was about programming and enhancing our work to the best possible way... not a contest to win. Lets focus on that shall we? Phantom Man, Great work dude :) Keep it up :)
(If this comment was disrespectful, please report it.)

 
2/8/2005 1:48:14 PMFunny Dog

Aboslutely Brilliant.


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

 
2/8/2005 2:40:14 PMFaraz Azhar

Good improvement.. your first code was good too.
(If this comment was disrespectful, please report it.)

 
2/8/2005 3:52:25 PMDan Redding - Blue Knot Software

Excellent prog (but please slow down the frame rate on your screenshot!)
(If this comment was disrespectful, please report it.)

 
2/8/2005 5:18:47 PMDana Seaman_

To render 32bit Alpha Icons try these links. First link requires GDI+ which can be installed on Win98 if desired.
- iICO 1.2 (rev. 3) By: Carles P.V. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=54968&lngWId=1
- Alpha DIBSections http://www.vbaccelerator.com/home/VB/Code/vbMedia/DIB_Sections/Alpha_DIBSection/article. asp
- Displaying Alpha (32bit) Icons with ImageLists http://www.vbaccelerator.com/home/VB/Code/Controls/ImageList/Displaying_Alpha_(32bit)_Ic ons_with_ImageLists/article.asp

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

 
2/8/2005 7:01:48 PMThushan Fernando

5Gz, please continue working on this:-)
(If this comment was disrespectful, please report it.)

 
2/8/2005 11:45:47 PMÙmega

Definitely 5 gloves. I already used the version prior to this. no problems encountered. very good control. I'll check this version. I'll be waiting for the complete release. :D
(If this comment was disrespectful, please report it.)

 
2/9/2005 4:14:43 AMAlex

It speaks for it's self.

You certainly get my vote!

Youv'e just saved me $70.
Send me your details and I will send you a donation.




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

 
2/9/2005 4:17:54 AMPhantom Man

Alex

Thanks for the offer.
Just Enjoy the code.
Keep It Free.

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

 
2/9/2005 9:59:13 AM

I realy like it. 5 stars.
(If this comment was disrespectful, please report it.)

 
2/9/2005 11:02:14 AMjames kahl

Phantom is quite right. For those that don't know, a tlb does not need to be distributed with the executable, which is what makes development with tlb's a plus. You don't have to declare anything that you need to use from the tlb, it gets compiled into the exe the same as if you had made all the necessary API declares yourself, anything that you don't use is not compiled into the exe.

Now on the source, some fine work and an excellent implementation and sample, thanks for sharing it. 5 from me.
(If this comment was disrespectful, please report it.)

 
2/9/2005 11:30:38 AMCarles P.V.

Gary: I 'recommend' you to use API ImageList_XXX functions. You will need to initialize it with ILC_COLOR32 and ILC_MASK flags (first one for alpha support), and ImageList_Draw/Ex/Indirect functions for rendering. Last variation will let you apply 'grey' effect (desatured) for disabled icons. Problems: you will need to check comctl32 version as well as icon color depth. The complication comes if user tries to load different color depths: What to do with disabled effect? 'DrawState' or 'greyed' image? So, allow choose beetwen alpha icons or not alpha icons?, etc. // I was re-coding my old ucCoolList and trying to allow alpha icons; I came up against this issue. I still don't know how to solve it.
(If this comment was disrespectful, please report it.)

 
2/9/2005 11:31:50 AMCarles P.V.

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

 
2/9/2005 11:53:38 AMSteveDude

Thanks for the info. I didn't realize that about TLB's being injected into the code, so the comment was my mistake. The control is actually one of the best truly usable ones on this website and I agree with an earlier comment of it being worth a 10. Thanks!
(If this comment was disrespectful, please report it.)

 
2/9/2005 11:56:21 AMPhantom Man

Hi Carles

Thanks For The Feedback.

I Am Aware That To Draw Alpha Icons Using An Imagelist Or ImageList API You Need ComCTL v6 Or Higher, Also You Need To Distibute A Manifest File Also.
(Alot Of Resource For A Nice Effect in My Opinion)

What I Would Like To Do Is Convert The Given Image To A 256 Colour Depth And (Resize If Necessary) And Apply A DropShadow If Desired.

I Have Seen This Done, But As I Have Very Limited Graphics Processing Knowledge I'm Pretty Well Stuck On How To Do It.

If Anyone Has Any Ideas On How This Can Be Done. Please Email Me.


Kind Regards
Gary

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

 
2/9/2005 12:51:24 PMCarles P.V.

Gary: Do you mean a 256-greyscale bitmap for disabled image?
(If this comment was disrespectful, please report it.)

 
2/10/2005 10:41:24 AM

From Asif!
If Carls P.V say excellent then there is no doubt about it. It should be. blind 5 globe from me.

samcosoft@yahoo.com
by the way a long time to see Carls P.V comments

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

 
2/11/2005 10:47:13 PMHeriberto Mantilla Santamaría

This code is genial.

Excellent effect splitter.

To RECTUM OF ANAL

I neither understand for that say this, this code is excellent and it should be a winner.
(If this comment was disrespectful, please report it.)

 
2/16/2005 4:02:45 PMHappy Lobster

Really nice look control. Great work :)
(If this comment was disrespectful, please report it.)

 
2/21/2005 3:57:08 AM

Excellent coding!

Thanks a lot for sharing!




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

 
2/21/2005 11:17:59 PMG Nelson

Way Cool. Without Question 5 gloves.
(If this comment was disrespectful, please report it.)

 
2/28/2005 7:55:34 PMCodeFester

Very nice work and really, thanks alot for sharing this. Who is this sphincter anus person anyway? Anus: you have left some of the goofiest toothless feedback for these kind gentlemen around this site whom put alot of their blood sweat and tears into the work that helps to teach me (anyway) an awful lot about this craft. I think you should stick to the erotic stories sites and stay the he|| away from here! However in one final tribute before you go, Gary I give 5 wipes for this beauty!
(If this comment was disrespectful, please report it.)

 
3/11/2005 3:39:08 AMAndrew Roberts

Great code!

One thing that I found useful is in the last version I changed some of the code to change the background color of the controls so it doesn't stand out. Most of the controls that can be contained inside the eyedropper control have bgcolor properties.

Again great code and 5 globes from me!
(If this comment was disrespectful, please report it.)

 
3/14/2005 12:48:43 AMM.Naveen Swamy

well done 5 stars
(If this comment was disrespectful, please report it.)

 
3/27/2005 8:21:42 AMGiovanni Rojas Ortiz

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

 
3/27/2005 1:59:44 PM

how odd
a good work guy
really
(If this comment was disrespectful, please report it.)

 
5/28/2005 4:53:08 AM

Great Job Phantom, thanks for share your mind with us.

A Bug: When app close, your controls terminate twice and (not always) cause the IDE crashes. Put debug.print in Terminate events and check this if you want. The problem is EDItem:Class_Terminate(), if you comment this event, the problem seems to be fixed. Any suggestion?

(sorry for my poor english)
(If this comment was disrespectful, please report it.)

 
6/7/2005 1:38:37 PMnightshadz

How do I compile this into a working OCX? I created the OCX, but when trying to load into my program it gives me an
(If this comment was disrespectful, please report it.)

 
6/26/2005 12:52:13 PMM. Chafchaouni

Good work
but I have 1 question, how can I be able to set focus on 1 item?
(If this comment was disrespectful, please report it.)

 
8/26/2005 6:41:07 PMRizzo

Exactly what I was looking for. well done and easy to use! 5*
(If this comment was disrespectful, please report it.)

 
10/23/2005 7:24:32 AMSteppenwolfe

very nice work.. hats off to you
(If this comment was disrespectful, please report it.)

 
12/25/2005 11:27:01 PMjisan

thnx for sharing....great code
(If this comment was disrespectful, please report it.)

 
3/26/2006 4:39:44 PMPollen

Excellent code. Voted 5 but i agree with Noel H: if i could i would voted 10!
(If this comment was disrespectful, please report it.)

 
5/1/2006 6:47:25 PMMartyn King

Hi

I also cannot get this to successfully compile into a working OCX. It comes up with a dll error.

Any ideas. Great control though..


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

 
8/8/2006 7:22:54 PMMartyn King

Hi

I am also getting a bug with the IDE. The eyedropper is (I think) causing the IDE to crash when I close the app I am running. It causes an unknown error. Any ideas ?


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

 
4/17/2007 8:21:20 PMandrew acevedo

how do you assign events for the items?
e.g "Unread mail"
I'm curious how you change that in the program demo.
(If this comment was disrespectful, please report it.)

 
10/4/2007 6:41:19 AMfrostbyte2k2

Hi,

I need to force by code some controls to be bind to EyedropContainer at runtime, how can i do that ?

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

 
8/14/2008 5:03:06 AMRojalde Arintok

hey man

when you compile it to OCX then use it your project when you open again your project and run it the VB crashes.
(If this comment was disrespectful, please report it.)

 
2/24/2009 8:22:12 AMsmartstar

Hello Dear,

Great Code, i appreciate your hard work.
There is a serious bug in this, IDE crashes when i close the project.

Please provide some solution for this, i cant figure out by myself.

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

 
4/7/2009 6:13:04 AMnilesh

i Like your control, Very useful, thanks Yaar (Friend)
(If this comment was disrespectful, please report it.)

 
9/10/2009 1:59:22 AMsmartstar

It does not just crases the IDE but i have experienced that when IDE crased and upon reopening the project, many of the controls were missing from my Forms. Very dangerous to use this control. Beware guys!!!
(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.