I like to use the XPStyle found in TActionManager to create my menu interface.
One thing I really would like to do without using 3rd Party components is render a gradient along the side of the menu:

XPColorMap does not seem to have the properties needed to change this unless I am overlooking something really obvious.
How may I do this, if at all possible?
Thanks.
UPDATE
Thanks to the excellent information and code sample provided by wp_1233996, here is the result:

I don’t see how this is a nasty XP Style Menu on Windows 7 though? I think it looks really good personally 🙂
http://edn.embarcadero.com/article/33461 links to a great article by Jeremy North which explains some of the magic behind the actionbars components. My solution is based on this article.
At first, the class responsible for painting the menu items is the TXPStyleMenuItem (in unit Vcl.XPActnCtrls). Create a new class that inherits from TXPStyleMenuItem and override the DrawBackground method. The new method should be something like this:
In this code, the gradient start and end colors are hardcoded. For better flexibility, it might be better to take the colors from the colormap as indicated by the comments.
In order to use this new class instead of the old XPStyleMenuItem, implement an event handler for the ActionMainMenubar’s event OnGetControlClass: