Height of MenuItems

Do you know how to increase the height of MenuItems in VB?

I am using VB5 and I've noticed that all my menus and menuitems are being drawn with a height of 14 pixels. This makes it difficult for me to add certain icons and bitmaps to them.

I checked my menus with those in other programs and I found that the heights of MenuItems in the VB5 IDE and MSOffice apps were all 16 pixels. However, in my project, I only get a height of 13 pixels. I came across another site where a guy said he had the same problem.

I tried using WinAPI functions to draw my own menus...but with no success (I'm still sorta new to this).

Please help...
jusclevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mcriderCommented:
I don't think that's possible, but what you can do is create your own menus using forms without borders...


Cheers!
0
Joe_GriffithCommented:
Are the menus in your program different from the menus in VB itself?  Are they different from menus in other programs?

I think the menu font is standard throughout windows.  You can change it in the control panel/display/settings.
0
jusclevAuthor Commented:
Edited text of question.
0
Jeremy_DCommented:
The height of the menu can be set through the user settings of the Display Control Panel, and therefore should not be touched by applications, since they are system-wide settings. The VB IDE and MS Office apps their own control to display their menu's (CoolBar?) and therefore don't have to comply to the system-wide menu-height setting. That's obviously the solution for you too, simply use a control for the menu's. I think vbAccelerator (http://vbaccelerator.com/) has some nice ones.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jusclevAuthor Commented:
Thanks for the link. The custom controls were very useful...

However, I still think there is a way to adjust the menuheight through the use of owner-drawn menus.

Nevertheless, my problem has been solved.

Clev...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.