Cpp: Use menuselection