i think there is a possible issue with %em when applied to %mn
when the menu entry reaches about 30 characters the resulting menu only shows 6-7 characters.
it is a bit strange as i can generated entries in the 'recent file' list upto 64 characters
test code
program test_em
include <windows.ins>
integer test_cb
external test_cb
integer iwin
IWIN = WINIO@('%em[theme1]&')
! this menu item displays as expected
! IWIN = WINIO@('%mn[menu[&12345678901234567890123456789]]&',
! this menu item rsults in a thin menu
IWIN = WINIO@('%mn[menu[&123456789012345678901234567890]]&',
+ test_cb)
IWIN = WINIO@('%ff')
end
integer function test_cb()
test_cb = 1
end