Home >
Back-end > MFC how to dynamically generated menu items displayed shortcuts and underlined letters
MFC how to dynamically generated menu items displayed shortcuts and underlined letters
If is directly generated menu: resources can. Rc file modified MENUITEM "open (& amp; O), "ID_32771 implementation O underlined, but how to implement the effect through the string in the InsertMenu? PMenu - & gt; InsertMenu (1, MF_STRING | MF_BYPOSITION ID_TMP1, T (" & amp; O ")); String _T (" & amp; O "), there is no effect,