... SendMessage( mbi.hwndMB, SHCMBM_GETMENU, 0, 0 ) );}#pragma ENDDUMP But it is not working as expected. As described in these posts, SHCreateMenuBar() is broken in new Windows mobile versions: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/52bef792-daa4-41ed-878b-bf22666609b2/shcreatemenubar-differences-in-windows-mobile-653?forum=vssmartdevicesnative ...