Thanks, do not sorry about long time, i know you are (all the team) hard working on Lazarus.
SetMenuFlag worked now without buffer but need to make MIIM_TYPE instead of MIIM_FTYPE (i fixed in the patch), but i believed i needed a buffer to save the caption of first item (this is a bug or something wrong in MS Windows) but now it is worked without it.
I have next patch to fix drawing the menu item in the
bug trackerSee this picture for the demo after it finished
(http://www.parmaja.com/temp/BidiMode_RightToLeft.png)
There is also another patch (not now) i will make it for TApplication.BidiMode.