• 0

Menus made by me in VB.Net


Question

Hi there.

I designed my own Ownerdrawn menus to use in my VB.Net 2003 application.

I don't really like them, but I'm running out of ideas...

Could someone please comment, give suggestions, etc?

And don't reply just saying the menus stink... That I already know ;)

Thanks!

Edit: I've created an Office 2003 style menu. What do u think?

Edit 2: I'm also creating an ownerdrawn tab control.. see a few posts below

post-47-1087996520.jpg

Edited by anog
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

It's portuguese ;)

The language isn't important... I'm talking about the design of the menus.

I don't really like them, but don't know how to improve them.. :no:

Link to comment
Share on other sites

  • 0

anog, axo k os menus do lado esquerdo est?o porreiros... os do lado direito ? k bahh:p:;);)

axo que para menus nao ? possivel inovar muito mais que isso. good wo:) :)

Link to comment
Share on other sites

  • 0

Cool4, foi o q pensei... qd criei a thread so tinha os do lado direito... os outros vieram depois ;)

Se tiveres mais alguma ideia ou sugestao, for?a ai;))

Link to comment
Share on other sites

  • 0
Cool4, foi o q pensei... qd criei a thread so tinha os do lado direito... os outros vieram depois ;)

Se tiveres mais alguma ideia ou sugestao, for?a ai;))

Yea what that dude just said ;))

Link to comment
Share on other sites

  • 0

Nice design, mind me asking how you did it? Wanted to develop something like that myself but havent been able to get anywhere!

ChocIST

Link to comment
Share on other sites

  • 0

It took me a while to finally find out how to do it. All the samples and articles on the web led me to no where.. But using the Visual Basic .Net Resource Kit I finally understood it :D

The code isn't complete yet.

It can't handle icons larger than 16x16 (it draws them with the original size) and checked menu item... well, aren't checked :blink:

But i'm working on it.

Also if the menu item is on a form (on a menu bar of a form) the result isn't that nice :wacko:

The code for the (incomplete) 2003 style menus class is attached.

The

Dim Pre_URL As String
Dim Post_URL As String
Dim TagValue As String

part is for use on my application.

The icon and font of the menu icon can be set on the VB.Net IDE itself.

You add normal menuitem, but then go to Code View and change their type from System.Windows.Forms.MenuItem to (whatever namespace).(class name you give it)

Enjoy!

Menu2.vb

Link to comment
Share on other sites

  • 0

I'll also create a new tab control.

When you click that cross it closes the Tabpage. Also, if you click the separator while holding shift, it closes the tab.

It doesn't support XP themes, maybe I'll add it later.

Is there any way to change the width/height of that separator? i have not found a property that does that, i'll play around with it a bit more and see what I find.

Each day that goes by i like .net even more :happy:

Too bad I don't have much time now... i'll have my last exams next week, then I'll have all the time in the world

and by setember... i'll start my first year at university :woot:

post-47-1088035918.jpg

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.