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...
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...
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.
I think the menu font is standard throughout windows. You can change it in the control panel/display/settings.
ASKER
Edited text of question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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...
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...
Cheers!