[Lazarus] Custom draw menu
Graeme Geldenhuys
graemeg.lists at gmail.com
Sat Nov 6 23:44:59 CET 2010
On 6 November 2010 04:09, Sergei Gorelkin wrote:
> As for the WinAPI, it indeed supports glyphs in menuitems, but the result is
> visually unusable in all Windows versions up to Vista. It simply does not
> insert margins anywhere, neither between adjacent menuitems nor between
> glyph and text in a single item. It was fixed in Vista+, but again for
> themed drawing only: switch the theming off and you get the same result as
> in Windows 95.
OK, so that explains menu items (as in the items in dropdown menus or
popup menus), but that doesn't explain the TMainMenu bar. Nobody puts
images in those (well no app I have ever seen in the last 15 years),
and that's the component two bug reports were raised about, in two
different windows versions.
Thanks Sergei for explaining some of the reasoning for custom drawn
menu items though. It seems nobody else knew the exact answer.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/
More information about the Lazarus
mailing list