Link to home
Start Free TrialLog in
Avatar of jusclev
jusclev

asked on

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...
Avatar of mcrider
mcrider

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


Cheers!
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.
Avatar of jusclev

ASKER

Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of Jeremy_D
Jeremy_D

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jusclev

ASKER

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...