Ben
Ben

Reputation: 3440

Icons force TPopupMenu to OwnerDraw?

I assigned some icons to a TPopUpMenu but it looks like it changed to ownerdraw (it's set to false)... I also use the XP Manifest but it still looks so old (Win2000 Style)... Is it possible make it look like in windows/explorer? Maybe a component?

Here's an image displaying the problem:

Delphi 7 Popup with Images (Themed)

Thank you for your help.

Upvotes: 2

Views: 1143

Answers (1)

Ken White
Ken White

Reputation: 125669

This is just a problem with Delphi 7 being extremely outdated. It was fantastic at the time it was released, but it's a decade old now and its age is showing.

You might find Toolbar2000 useful. In spite of the name, it includes a really flexible replacement for TMenu and TPopupMenu functionality that allows you to make your menus look like those in Office 2000. (See the note on the linked page with the bullet item Office 2000 style menus, which states:

Office 2000-style menus There is no clear distinction between menus and toolbars, giving you the utmost in flexibility. Toolbars can contain menus, menu bars can contain buttons, and they can share the same items.

It's been released as freeware (with source), so it's available, and AFAICT it still supports Delphi 7. If it's not, Toolbar97 (available from the same URL) will provide similar functionality.

Upvotes: 7

Related Questions