Important alert: (current site time 6/19/2013 11:03:33 PM EDT)
 

winzip icon

CoolMenu 1.3.2

Email
Submitted on: 2/11/2002 11:01:00 AM
By: Islam Ahmed 
Level: Intermediate
User Rating: By 12 Users
Compatibility: VB 4.0 (32-bit), VB 5.0, VB 6.0
Views: 9117
 
     The only change to the familiar cool menu series is now it works with Windows XP for those who upgraded to XP and the images used not to show up..
 
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.

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

2/11/2002 1:00:44 PMThe New iSoftware Company!

Umm... I can't get this to work. I C&P it.
(If this comment was disrespectful, please report it.)

 
2/11/2002 1:36:29 PMzappos

this version not support .ico file
(If this comment was disrespectful, please report it.)

 
2/11/2002 3:46:53 PMThe New iSoftware Company!

Rats! Can you give me any hints?
(If this comment was disrespectful, please report it.)

 
2/11/2002 5:16:20 PMdreamvb

This project runs fine for me no problums keep up the good work 5 from me.
(If this comment was disrespectful, please report it.)

 
2/11/2002 11:59:16 PMDave Buckner

Works just fine here(XP). Great job!
(If this comment was disrespectful, please report it.)

 
2/12/2002 9:58:10 AMislam ahmed

Hi, thanks for all who commented on the code.But may be i have forgotten to clarify that the code is copyrighted to Oliver Martin who did the whole job.. I liked it , I studied it , I worked with it alot and just discovered that there is a function named ImageList_Draw that would not work with XP without special modifications which I avoided and used the standard DrawState function.
i will develop soon a much enhanced menu specially for people make use of the RTL propery much inspired by the cool work of Martin.
Thanks again goes for Oliver Martin for the gr8 work.
(If this comment was disrespectful, please report it.)

 
2/13/2002 3:30:00 AMStruja

Great job! Thanks goes to everyone who made this! ***** from me
(If this comment was disrespectful, please report it.)

 
2/14/2002 2:31:04 AMzappos

I have resolved the problem of the .ico files. Now they are designed correctly
(If this comment was disrespectful, please report it.)

 
2/16/2002 6:35:39 PMRobert Morris

Nice update!

BTW, using the Image List version 5.0 will work under XP--it's just 6.0's that doesn't, although "re-imagelist-ifying" your program for 5.0 so it'll work under XP isn't always a good solution. :)

Anyway, now that it WORKS under XP, there are still some problems. If you're using the XP default visual style, the menu bar is white around the top-level menu items instead of the normal color (tan-ish, or whatever it is; I'm colorblind). I've been trying to look through the code to see why--does it choose the wrong color somewhere or draw that part of the menu itself incorrectly, or? I haven't had any luck fixing that, but once that issue is out of the way, this will be great for XP!

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

 
2/23/2002 2:25:53 PMThe New iSoftware Company!

I've looked. Its someanother color some where!
(If this comment was disrespectful, please report it.)

 
4/17/2002 3:43:59 PMEl Mariachi

Great enhancement to an already great code. Ive noticed that the code now does not work with multi-resolution icon files but it does if its a single 16x16 icon file. Actually if you use a multi-resolution icon file then one of the bigger icons is used and not the standard 16x16. If that is fixed then this code will rule. Thanx.

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

 
4/18/2002 1:49:17 PMEl Mariachi

Correction, it seems to use icon#1 if the file is a multi-resolution icon file. ive switched the order in the icon file and it always seems to use the first one. Dont know if thats how the original code worked or not. nayway..cool code. Has anyone noticed any side effects???
(If this comment was disrespectful, please report it.)

 
9/16/2002 11:17:15 AMDondata

Finslly CoolMenu works overall :)
Excellent work.

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

 
9/16/2002 11:17:44 AMDondata

Finslly = Finally :)
(If this comment was disrespectful, please report it.)

 
9/17/2002 5:45:41 AM

Still bugs with multiple forms while switching into MDI.....
Btw,it works fine !
(If this comment was disrespectful, please report it.)

 
12/17/2002 10:47:46 PM

The menus appear to work correctly but
when I exit my program it crashes in
Kernel32.dll ..... the program won't
exit/quit cleanly..... I stepped thru
the program for a long time and I think
it dies in mCoolMenu in WindowProc but
can't be sure.... Has anyone seen this
or know how to debug it?

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

 
2/6/2003 7:06:25 PM

Excellent Work. Recently, however, I noticed a strange behavior when using MDIForm and Child forms. That is, when clicking Icon on menu bar to Restore/maximize/minimize a resizable child form a few times, menu items does not display captions or icons properly. When this happen, MDIform shows an entire captions such as "|New File|&New" and no icon. All 1.3.x and DLL version display the same behavior. Error is occurring when adding menu to collection in ConvertMenu Subroutine. If you already know the solution, please let me know. Thanks.Restore/maximize/minimize a resizable child form a few times, menu items does display menu captions or icons properly.
(If this comment was disrespectful, please report it.)

 
2/7/2003 10:43:42 PM

Tim u must add the stuff in ure form unload that makes CoolMenu unload when ure program is closed. This is how i got rid of that error.

Good work I give this program a FIVE
(If this comment was disrespectful, please report it.)

 
2/21/2003 8:03:10 AM

If you're using the XP default visual
style, the menu bar is white around the
top-level menu items instead of the
normal color.

On XP we should use the 'new' color constants: COLOR_MENUBAR and COLOR_MENUHILIGHT (see also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getsyscolo r.asp).

Unfortunately
I am not smart enough to do the appropriate changes to the code :-(

Maybe somebody else will fix that
issue.

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

 
2/21/2003 8:04:05 AM

If you're using the XP default visual style, the menu bar is white around the top-level menu items instead of the normal color.

On XP we should use the 'new' color constants: COLOR_MENUBAR and COLOR_MENUHILIGHT (see also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getsyscolo r.asp).

Unfortunately
I am not smart enough to do the appropriate changes to the code :-(

Maybe somebody else will fix that issue.

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

 
5/16/2003 8:24:04 AMDanny Pryor

Just wondering here..... the code was nice , but is there some reason as to why theres ;
50 UnUsed Dim Declaration's
54 UnUsed Private Declaration's
and 3 UnUsed Public Declaration's ?
That's a WHOLE lot of weight for nothing . Still nice though , but a little untidy .
(If this comment was disrespectful, please report it.)

 
9/16/2003 11:36:50 AM

Hi!Do you have same news about CoolMenu on windows XP?
Thanx.




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

 
9/16/2003 11:39:13 AM

Hi!Do you have same news about CollMenu on WindowsXP? Thanx!
(If this comment was disrespectful, please report it.)

 
1/7/2004 12:18:55 AM

Did anyone figure out how to change cool menu to get rid of the white background on XP?

Also, there is some code in mCoolmenu that checks for the Previous windows process and somehow calls it again??? I have code that launches a browser and it is launching twice and I stepped thru my project and see it going into a prevproc code in mcoolmenu... Has anyone else seen this and if so how do I stop this behavior???
(If this comment was disrespectful, please report it.)

 
1/13/2004 12:33:24 PM

I want to thank everybody involved in this project. i think it is a great job!
Well done guys!

found only one malfunction. The System menu has not been dealt with. When you click on the icon of a maximized child form
in the MDI environment, the system menu is not drawn and program crashes.
I would appreciate if anybody could tell how to get around this problem.
my e-mail ou2@ukc.ac.uk
Thanks in advance

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

 
7/11/2004 9:03:31 AMDasith Wijesiriwardena

When i add my icons in the vb/common/images/office/small/ 16x16 bmp's it gives out an blank image. Could anyone help ... I can't use a difference mask color either
(If this comment was disrespectful, please report it.)

 
7/11/2004 9:03:50 AMDasith Wijesiriwardena

When i add my icons in the vb/common/images/office/small/ 16x16 bmp's it gives out an blank image. Could anyone help ... I can't use a differant mask color either
(If this comment was disrespectful, please report it.)

 
7/12/2004 1:25:20 AMDasith Wijesiriwardena

I get error when using popups
http://www.vbforums.com/showthread.php?s=&threadid=296976

please help
(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.