Click to See Complete Forum and Search --> : simple question about Menus


gonzo48
September 23rd, 2005, 03:20 PM
I have searched the archives but did not find the answer to this question.

Using the Visual C++ v6 IDE, when the cursor goes over a menu item (like File, Edit, View, etc), that menu item is highlighted with an embossed or 3D effect in the regular color of the menu, which is gray.

But when using Visual C++ .NET IDE v7, the effect is different--it is just a highlighted color blue and not the embossed or 3D effect.

How do I get that colored menu highlight instead of the older embossed menu highlight effect?

I am not using MFC, just the regular win32 API.

Thanks,

Andres

NoHero
September 24th, 2005, 06:40 AM
Take a look at this (http://www.codeproject.com/menu/newmenuxpstyle.asp). It is written in MFC but it was the only solution for owner drawn menues aiming to reproduce the office menu style. For another good reference check the MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/usingmenus.asp) under "Owner drawn menu items".

gonzo48
September 26th, 2005, 02:39 PM
Thank you for the reply and links to further information.

Is what I am seeing in the menus of VC++ v7 called "Office style" menus. I have Office 2000 on my machine but Word/Excel etc all use the older style menus.

I also did not realize these were called "Owner Drawn" menus. Thanks again for the links.

-Andres