h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_DecodeMenu h2. Wimp_DecodeMenu h5. (SWI &400D5) |_<. Entry | | |R1 |Pointer to menu data structure | |R2 |Pointer to list of menu selections | |R3 |Pointer to buffer for answer | |_<. Exit | | |R0 |Corrupt | h4. Use This call is incredibly useful to decode menus by their contents rather than their item selection numbers. For example, a returned value of <code>Edit.Paste</code> would be mean that the user has selected the ‘Paste’ item within the ‘Edit’ sub-menu. h4. Notes Buffer pointed to by R3 is updated to contain menu item texts, separated by a period sign <code>.</code> The string is terminated with a <code> CR</code> control code. h4. See also * [[Wimp_CreateMenu|Wimp_CreateMenu]] * [[Wimp_CreateSubMenu|Wimp_CreateSubMenu]]