[Lazarus] Custom draw menu

Joost van der Sluis joost at cnoc.nl
Fri Nov 5 17:02:40 CET 2010


On Fri, 2010-11-05 at 16:05 +0100, Birger Jansen wrote:
> Hi all,
> 
> I am trying to add some custom paint routines to a menu. From some previous messages I understand that there is no CustomDraw event that I can use. Looking at the TMenuItem component I don't see any code at all that does the drawing of the menu.
> 
> I'm not realy experienced in LCL code, but can somebody give me a hint about where to look for the code that does the painting of a TMenu / TMenuItem?

If it uses native controls, you have to ask Microsoft. I doubt they will
give you the code, though. ;)

Joost.





More information about the Lazarus mailing list