is there an easy way to use office xp style menus? with the blue highlighting, or could you also change that highlighting to say red?
Printable View
is there an easy way to use office xp style menus? with the blue highlighting, or could you also change that highlighting to say red?
Yes , you can change it to any color .
is there an easy way to set that up? or is there something i am missing in the main menu item?
You must change OwnerDraw = true , otherwise the changes you make won't affect the menuitems .Quote:
Originally posted by deoblo1
is there an easy way to set that up? or is there something i am missing in the main menu item?
If you don't mind paying for a 3rd party control, Devcomponents DotNetBar suite does this.
http://www.devcomponents.com/dotnetbar/
No need to pay anything . There are a lot of XP Style Menus on the net for free . They are all work fine .
urls?Quote:
Originally posted by Pirate
No need to pay anything . There are a lot of XP Style Menus on the net for free . They are all work fine .
I uploaded a proj in the above link ,
here is #1 :
http://www.vbsmart.com/library/library.htm
here is #2
http://www.Planet-Source-Code.com/vb...=918&lngWId=10
Just search the net .
This suckx .....:confused:Quote:
what's wrong with dotnetmagic? just because it uses some api's ?
dotnetmagic is a good thing to have i recon , but you cant beat making your own designs . and to be honest colouring / adding icons in vb.net is a stroll in the park compared to the api's we used to have to use in vb6 etc...
if you create a common handler for the drawitem and measureitem subs you can handle it all in a couple of small functions , eg :
VB Code:
Private WithEvents mnuItems As MenuItem Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AddHandler MenuItem2.MeasureItem, AddressOf mnuItems_MeasureItem AddHandler MenuItem3.MeasureItem, AddressOf mnuItems_MeasureItem AddHandler MenuItem2.DrawItem, AddressOf mnuItems_DrawItem AddHandler MenuItem3.DrawItem, AddressOf mnuItems_DrawItem End Sub Private Sub mnuItems_MeasureItem(ByVal sender As Object, ByVal e As System.Windows.Forms.MeasureItemEventArgs) Handles mnuItems.MeasureItem With e .ItemHeight = 20 .ItemWidth = 100 End With End Sub ' //// and then just draw the item's / add icons as you require.
No , and what's wrong with APIs ? I love working with APIs . They do the job perfectly .Quote:
Originally posted by Redth
what's wrong with dotnetmagic? just because it uses some api's ?
What's the limitation of the DotNetMagic demo?
dotnetmagic is open source
you can change it code if u want and if u dont like dll's u can even put the code inside your .exe so you just have a single file to distribute!
So the demo version for it contains the does not source code?
Don't you think it has some issues with Licenses ?Quote:
Originally posted by PT Exorcist
dotnetmagic is open source
you can change it code if u want and if u dont like dll's u can even put the code inside your .exe so you just have a single file to distribute!
yeah damn u're right
anyways my proggys are just for me and a couple of friends(at least until now) so i dont have big problems with it
but if u're goin sell it then youu might have some problems with it
The above links are Free and open source . I've seen one of them ago , it's freaking cool .:)