Important alert: (current site time 7/15/2013 9:19:25 AM EDT)
 

winzip icon

Xp Style Menus-- From CoolMenus--Owner Drawn Menus (updated)

Email
Submitted on: 10/18/2002 3:55:31 AM
By: Derrick Blake 
Level: Advanced
User Rating: By 13 Users
Compatibility: VB.NET
Views: 32424
author picture
 
     This contains a module called coolmenus. It Draws The Menus Very Similar To The Ones found in Office Xp and VS.net For those ppl who dont like those boring Windows Menus

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :Xp Style Menus-- From CoolMenus--Owner Drawn Menus (updated)
//**************************************
Original Version By Retana Padilla: "Adding icons to menus in VB.NET" at The Code Project 
Updated Version by Derrick Blake: "Office Xp Style Menus -- From Coolmenus" at PlanetSourceCode
I would Like To Recieve a Tiny Bit Of Credit Pretty Please ... Haha ... I Need To Feed My EGO Just Kidding
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.

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 7 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/19/2002 7:49:15 PMThe New iSoftware Company!

Do you mind if I use this in my JLOXP?
(If this comment was disrespectful, please report it.)

 
10/19/2002 9:00:45 PMDerrick Blake

Of Course Not ...You may use it..I would appreciate maybe a tiny bit of credit but you dont have to but please feel free to use this as much as you want
(If this comment was disrespectful, please report it.)

 
10/20/2002 12:17:06 PMThe New iSoftware Company!

O also, I have a routine that gets the shadow. Look through my code.
(If this comment was disrespectful, please report it.)

 
10/20/2002 11:42:19 PMDerrick Blake

Ohh Thanks a lot man ive been looking for that everywhere

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

 
10/25/2002 2:15:05 PM

Very cool... I did modify it to use an imagelist and to show the underscores properly in the menubar, other than that I think it's great...
(If this comment was disrespectful, please report it.)

 
12/4/2002 5:29:47 PMMarco Minerva

This example is very cool, but I can't put underscores in the menubar, what must I do?
(If this comment was disrespectful, please report it.)

 
12/7/2002 12:57:49 PMThe New iSoftware Company!

wot windows version is it?
(If this comment was disrespectful, please report it.)

 
12/7/2002 1:16:51 PMDerrick Blake

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

 
1/17/2003 12:50:22 PM

Anyone have any tutorials or updates on doing this very thing... I have combed the net over and over and can't find something a new person can understand...

If someone has updates this code or anything I would greatly appreciate you sending it to me to: racrow@attbi.com
(If this comment was disrespectful, please report it.)

 
1/24/2003 7:10:53 AMMOB GoAn

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

 
2/24/2003 3:02:08 PMnfs

XP rules.

Hi,
Do you want to make money with your programming skills ?

Software Objects provide following services :

1)Sell your software.
2)Post a software to be done.
3)Bid on the software projects.
4)Buy software

Thanks and have a nice day.

Software Objects
http://www.thesoftwareobjects.com

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

 
9/27/2003 2:50:30 PMOz Programmer

Derrick Blake,
I have been working with your code source, and I have created a component. "OzVirtualXpMenu".

You do not need to modify nothing, just add the component to your components box and just paint it on the form.

Iam sending the component only (dll) because is not finished...

Derrick Blake, help me to finish it...
my email es aviles@oz.com.mx

If somebody wishes to test this component, just send me an emai and I will send you...
is easy to use...

www.oz.com.mx
thanks

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

 
10/3/2003 6:18:17 PMOz Programmer

Download it here !!
http://ozxpmenus.wwwpuntocom.com/
(If this comment was disrespectful, please report it.)

 
11/11/2003 12:14:12 AME.S. Forbes

Seems to me like you could have used AddHandler to send the DrawItem and MeasureItem events to a pair of subs, rather than throw all those event handlers in there... But that's just me. ;)

Otherwise, not too shabby :)
(If this comment was disrespectful, please report it.)

 
4/4/2004 9:06:30 AM

Hello Derrick!
Thanks for a very nice looking and easy to use menu. I however seems to have some problems when using the
(If this comment was disrespectful, please report it.)

 
4/4/2004 9:10:25 AM

Hello Derrick!

Thanks for a very nice and easy to use menu. I am however having trouble when using the "checked" attribute of a menuitem. It seems that it is being drawn behind the background - unvissible to the user. I am having trouble solving this problem and was wondering if You could be of any help?

Please feel free to contact me directly if You should get the time to respond to this.

Best regards Torben Jensen, Denmark
(If this comment was disrespectful, please report it.)

 
6/16/2004 12:43:05 PM

I like this better than the original one done by Retana Padilla: it's a lot easier to use. The colors were not exactly the same as those of Office XP, but I easily modified this. One last thing, I would also suggest writing an "Office XP" style toolbar as well. I could use both, but havn't had any luck in writing one myself.

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

 
6/30/2004 5:31:23 PM

it suck=s!
(If this comment was disrespectful, please report it.)

 
1/19/2008 6:08:40 AMSteven Atkiss

I don't get it, why is this necessary when .NET lets you use XP menus with images and stuff already? Am I missing the point?
(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.