Would I be better off to just inherit the menu control and make my own owner
drawn menu control.
Had lots of experience with controls in VB5 and 6 but none so far in .NET
You would think MS would have included icons for menus in the basic control.
Everyone wants it.
Do you all consider this to be a difficult task? Or should it be simple and
the best way to go.
Seems to me that all I'd need to do is trap a few events, add a place to
hold images, paint them in the paint event,etc.
Thanks for any opinions on doing this and the degree of difficulty.
Shane
I'd rather do this than license a control that isn't mine and have to deal
with the license. --just to get simple pictures on the menu items 5 1220
Hi Shane,
There's a fine control available for this at www.divil.co.uk completely free
and license issues free; I use it myself.
If you want to draw your own, take a look at this month's MSDN mag - Dino
Esposito has an article on this very issue.
HTH,
Bernie Yaeger
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl... Would I be better off to just inherit the menu control and make my own
owner drawn menu control.
Had lots of experience with controls in VB5 and 6 but none so far in .NET
You would think MS would have included icons for menus in the basic
control. Everyone wants it.
Do you all consider this to be a difficult task? Or should it be simple
and the best way to go.
Seems to me that all I'd need to do is trap a few events, add a place to hold images, paint them in the paint event,etc.
Thanks for any opinions on doing this and the degree of difficulty.
Shane
I'd rather do this than license a control that isn't mine and have to deal with the license. --just to get simple pictures on the menu items
* "SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> scripsit: Would I be better off to just inherit the menu control and make my own owner drawn menu control.
If you want to /learn/ how to do that:
Adding icons to menus in VB.NET
<http://www.codeproject.com/vb/net/iconsmenu.asp>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
I've never found a way to force an Inherited MenuControl to use customised
MenuItems.
I have written a MenuItem Class though, the source and demo can be found at:
< http://www.planet-source-code.com/vb...1123&lngWId=10
Mick
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl... Would I be better off to just inherit the menu control and make my own
owner drawn menu control.
Had lots of experience with controls in VB5 and 6 but none so far in .NET
You would think MS would have included icons for menus in the basic
control. Everyone wants it.
Do you all consider this to be a difficult task? Or should it be simple
and the best way to go.
Seems to me that all I'd need to do is trap a few events, add a place to hold images, paint them in the paint event,etc.
Thanks for any opinions on doing this and the degree of difficulty.
Shane
I'd rather do this than license a control that isn't mine and have to deal with the license. --just to get simple pictures on the menu items
Thanks Mick,
This is very interesting. How about the rest of the group?
Does anyone else know of a way to inherit the menu control and customize
items or can that not be done?
May Microsoft will respond and tell us if there is no way to do this.
thanks,
Shane
"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:O%****************@TK2MSFTNGP11.phx.gbl... I've never found a way to force an Inherited MenuControl to use customised MenuItems. I have written a MenuItem Class though, the source and demo can be found
at:
< http://www.planet-source-code.com/vb...1123&lngWId=10
Mick
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message news:Oo**************@TK2MSFTNGP11.phx.gbl... Would I be better off to just inherit the menu control and make my own owner drawn menu control.
Had lots of experience with controls in VB5 and 6 but none so far in
..NET You would think MS would have included icons for menus in the basic control. Everyone wants it.
Do you all consider this to be a difficult task? Or should it be simple and the best way to go.
Seems to me that all I'd need to do is trap a few events, add a place to hold images, paint them in the paint event,etc.
Thanks for any opinions on doing this and the degree of difficulty.
Shane
I'd rather do this than license a control that isn't mine and have to
deal with the license. --just to get simple pictures on the menu items
Thanks for the info and site. There are some cool controls there.
But for profit apps do have to buy them.
I have bookmarked the site and will keep it in mind. It is a great
reference.
Shane
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ut*************@TK2MSFTNGP11.phx.gbl... Hi Shane,
There's a fine control available for this at www.divil.co.uk completely
free and license issues free; I use it myself.
If you want to draw your own, take a look at this month's MSDN mag - Dino Esposito has an article on this very issue.
HTH,
Bernie Yaeger
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message news:Oo**************@TK2MSFTNGP11.phx.gbl... Would I be better off to just inherit the menu control and make my own owner drawn menu control.
Had lots of experience with controls in VB5 and 6 but none so far in
..NET You would think MS would have included icons for menus in the basic control. Everyone wants it.
Do you all consider this to be a difficult task? Or should it be simple and the best way to go.
Seems to me that all I'd need to do is trap a few events, add a place to hold images, paint them in the paint event,etc.
Thanks for any opinions on doing this and the degree of difficulty.
Shane
I'd rather do this than license a control that isn't mine and have to
deal with the license. --just to get simple pictures on the menu items
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Eric |
last post by:
I implemented owner drawing on the main and context menus of my main form.
It works fine.
There is also a notify icon control that has a context menu. When the icon
is in the status bar, it...
|
by: Juan Romero |
last post by:
Hey guys,
Is it possible in VB.NET to do owner drawn menus?
I want to spice up my menus a bit with graphics and colors. Can this be
done? If so, please point out some tutorials on this matter.
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |