Lazarus

Programming => General => Topic started by: han on January 23, 2018, 10:59:50 pm

Title: [Solved] Hints of pulldown submenu's are not working in Windows but in Linux.
Post by: han on January 23, 2018, 10:59:50 pm
I'm working on my well tested code in Lazarus converted some time ago from Delphi.  I noted that submenu hints of the mainmenu1 and popup menus are not working in the Windows version. Compiled for Linux it works and also in Delphi, so something is not working in the Windows version using the same code.

Attached a screenshot and sample program. The hint of the submenu blue highlighted in the screenshot is missing. Anybody an idea why and how to fix?. Submenu hints work in the Linux version and Delphi but not in Lazarus for Windows.

Maybe handle the WM_MENUSELECT Windows message could fix it but that is no good solution.

Later, after more testing, I noticed the hints of the submenus are mixup up. Hints of normal mainmenu items are working. Wrong hints of other menu items are reported See attached test program. I will report this as a bug.
https://bugs.freepascal.org/view.php?id=33070

Title: Re: Hints of pulldown submenu's are not working in Windows but are working in Linux.
Post by: ASerge on January 24, 2018, 08:28:21 pm
Test with added patch.
Title: Re: Hints of pulldown submenu's are not working in Windows but are working in Linux.
Post by: han on January 24, 2018, 08:37:56 pm
Test with added patch.
I like to,  but which path? Where can I download it?
Title: Re: Hints of pulldown submenu's are not working in Windows but are working in Linux.
Post by: ASerge on January 24, 2018, 08:39:51 pm
I like to,  but which path? Where can I download it?
You link :D https://bugs.freepascal.org/view.php?id=33070 (https://bugs.freepascal.org/view.php?id=33070)
Title: Re: [solved] Hints of pulldown submenu's are not working in Windows but in Linux.
Post by: han on January 25, 2018, 11:59:23 am
The patch solves it. Thanks!!
TinyPortal © 2005-2018