Results 1 to 20 of 20

Thread: office xp style menus

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    office xp style menus

    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?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Yes , you can change it to any color .

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313
    is there an easy way to set that up? or is there something i am missing in the main menu item?

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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?
    You must change OwnerDraw = true , otherwise the changes you make won't affect the menuitems .

  6. #6
    Addicted Member PeteD's Avatar
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    158
    If you don't mind paying for a 3rd party control, Devcomponents DotNetBar suite does this.

    http://www.devcomponents.com/dotnetbar/

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    No need to pay anything . There are a lot of XP Style Menus on the net for free . They are all work fine .

  8. #8
    Addicted Member PeteD's Avatar
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    158
    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 .
    urls?

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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 .

  10. #10
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551

  11. #11
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Redth
    www.dotnetmagic.com
    This suckx .....

  12. #12
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    what's wrong with dotnetmagic? just because it uses some api's ?

  13. #13
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    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:
    1. Private WithEvents mnuItems As MenuItem
    2.  
    3.  
    4.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    5.         AddHandler MenuItem2.MeasureItem, AddressOf mnuItems_MeasureItem
    6.         AddHandler MenuItem3.MeasureItem, AddressOf mnuItems_MeasureItem
    7.         AddHandler MenuItem2.DrawItem, AddressOf mnuItems_DrawItem
    8.         AddHandler MenuItem3.DrawItem, AddressOf mnuItems_DrawItem
    9.     End Sub
    10.  
    11.  
    12.     Private Sub mnuItems_MeasureItem(ByVal sender As Object, ByVal e As System.Windows.Forms.MeasureItemEventArgs) Handles mnuItems.MeasureItem
    13.         With e
    14.             .ItemHeight = 20
    15.             .ItemWidth = 100
    16.         End With
    17.     End Sub
    18.  
    19. ' //// and then just draw the item's / add icons as you require.
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  14. #14
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Redth
    what's wrong with dotnetmagic? just because it uses some api's ?
    No , and what's wrong with APIs ? I love working with APIs . They do the job perfectly .

  15. #15
    New Member
    Join Date
    Sep 2003
    Location
    Philippines
    Posts
    15

    Question

    What's the limitation of the DotNetMagic demo?
    Last edited by Friend_Al_23; Sep 27th, 2003 at 05:36 PM.
    http://www.lyricsserver.net

  16. #16
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    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!
    \m/\m/

  17. #17
    New Member
    Join Date
    Sep 2003
    Location
    Philippines
    Posts
    15

    Question

    So the demo version for it contains the does not source code?
    http://www.lyricsserver.net

  18. #18
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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!
    Don't you think it has some issues with Licenses ?

  19. #19
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    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
    \m/\m/

  20. #20
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    The above links are Free and open source . I've seen one of them ago , it's freaking cool .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width