Why don't you use owner drawn menu items?  When you draw the last item, make
it large enough to accomodate the bitmaps, but draw the border so that the
menu looks like it stops at the last item.

----- Original Message -----
From: Paul Mckenzie
To: Multiple recipients of list delphi
Sent: Friday, January 10, 2003 2:29 PM
Subject: [DUG]: Adding Icons to the Menu bar....


G'day

Does anyone know if icons can be added (preferably easily) to the menu bar -
but not as a menu item...
What i need to do is add 4 icons to the menu bar, just after the last menu
item.
I acn sort-of do this by adding blank menu items and setting a BMP for each
item.
The problem is that  they are still clickable or loook clickable even if
disabled - when the mouse goes over
the bevel edge appears to indicate they are menu items.

I could live with just turning off the bevel edge thing - but the menu is
inherited and it is only the last 4 items I want to turn it off for.

Any help, ideas, suggestions much appreciated.

Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to