Results 1 to 22 of 22

Thread: [RESOLVED] How to color menu bar not menu items of Mdi form in vb 6.0 ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Resolved [RESOLVED] How to color menu bar not menu items of Mdi form in vb 6.0 ?

    I use following link it makes my menu items to be colored :-

    http://www.vbforums.com/showthread.p...nge-Menu-color

    and i use following link too but not getting color in menu bar :-

    http://vbnet.mvps.org/index.html?cod...menucolour.htm

    Is there any way to color only menu bar of a mdi form not menu items in vb 6.0?

  2. #2
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    759

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Firstly, The colours and sizes of menu bars are System-wide settings, chosen by the User to suit themselves, often for very Good Reasons, like colour-blindness. Don't change them without warning, or expect to get your application to be returned, uninstalled, for a refund.

    Secondly, trying to second-guess the way that MDI works is almost always a waste of time; a battle you will lose. If it meets your needs, then use it, just as it comes. If it doesn't do what you want, then try a different User interface paradigm.

    Regards, Phill W.

  3. #3
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,145

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Firstly, Welcome to the Visual Basic 6.0 and Earlier Forum!

    Secondly, as you posted two links, one to this forum, and one to the VB.NET forum, it raises the question what product you are using. If you have Visual Basic 6.0 (or earlier) (Includes Visual Studio 6.0), then you SHOULD ask your questions here. If you are using another brand of Microsoft Products, like one of the many Visual Basic.Net products (like Visual Studio 2008 or newer, for example), then post your questions in the other .NET part of this forum.

    Regards, Sam B.

  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    1) Thanks for greeting me ,Sam B.
    2) Thanks for explaining, I am using vb 6.0 and on both links coding is for vb 6.0. and I
    think i post it in right forum...

  5. #5
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,145

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    you do then....hopefully you get assistance...my knowledge is not good enough for this....

  6. #6
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Personally not a big fan of customizing the non-client area of standard forms; I prefer to use the current window theme. But, to better answer your questions, maybe you can post an image of what you are expecting? Maybe screen capture your form into MS Paint and color the menubar the way you would like your form to appear?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #7
    gibra
    Guest

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    http://leandroascierto.com/blog/hook-menu/
    I hope will help you.
    Source code included, so you can change as you want.

  8. #8

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Gibra.. link is not open.

  9. #9

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Name:  menubarcolor.jpg
Views: 1921
Size:  9.8 KB

  10. #10
    gibra
    Guest

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Quote Originally Posted by Raman15294 View Post
    Gibra.. link is not open.
    Then you have problems with your connection.
    I open it right.

  11. #11
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,989

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    The link works for me, though there was a bit of a pause before it came up.
    My usual boring signature: Nothing

  12. #12

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Gibra..
    Can you please help with code.
    Don't know why link is not open at my side.
    I attach an image above what i actually need.

  13. #13

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Name:  MenuBar.PNG
Views: 2323
Size:  19.1 KB

    Hello,
    Lavolpe
    I attach An Image.

    I download your sample project from following link and wooow it is awesome and great work by you......
    http://www.planet-source-code.com/vb...62605&lngWId=1.

    but difficult to understand 22 class modules for attached image requirement :-

    Can you please help by attach a sample zip project for color in menubar and titlebar color and titlebar font colour only ?

  14. #14
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,120

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Quote Originally Posted by gibra View Post
    http://leandroascierto.com/blog/hook-menu/
    I hope will help you.
    Source code included, so you can change as you want.
    Wow, that code is 15 years old!

    The original PSC submission is here: https://www.planet-source-code.com/v...40518&lngWId=1

    cheers,
    </wqw>

  15. #15
    gibra
    Guest

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Quote Originally Posted by Raman15294 View Post
    Gibra..
    Can you please help with code.
    Don't know why link is not open at my side.
    I attach an image above what i actually need.
    See my attach, related to HookMenu project.
    However you can use the PSC project, also.
    Attached Images Attached Images   

  16. #16
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,224

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    @gibra which addin has those tabs? Thanks!

  17. #17
    gibra
    Guest

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    CodeSMART 2013 (AxTools)
    http://www.axtools.com/

  18. #18

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Gibra..
    sorry to disturb
    I see the attached image and that what i need.
    but not able to download this project on this link
    http://leandroascierto.com/blog/hook-menu/
    it is not open at my side.How to download it ? Name:  notworking.jpg
Views: 1940
Size:  21.3 KB

  19. #19
    Fanatic Member
    Join Date
    Jul 2007
    Location
    Essex, UK.
    Posts
    578

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    I just tested your link http://leandroascierto.com/blog/hook-menu/ and it loaded fine and I was able to download HookMenu 1.4. Like you I use Chrome as my browser. Why not try the link in Internet Explorer and see if it works then. Of course it may be your AntiVirus preventing you seeing it.

  20. #20
    gibra
    Guest

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    Quote Originally Posted by Raman15294 View Post
    Gibra..
    sorry to disturb
    I see the attached image and that what i need.
    but not able to download this project on this link
    Try with different browser.

  21. #21

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    thanks a ton gibra

  22. #22

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    9

    Re: How to color menu bar not menu items of Mdi form in vb 6.0 ?

    gibra
    I took a form in my project and add all your classes and modules.I put that ctxHookMenuControl on to my form that time i get an error "user defined type not defined" .How to resolve this ?

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