Window | Pointer to the linked list of Menu structures |
MenuNum | Index of Menu to search in. |
ItemNum | Position in menu of the selected MenuItem. |
SubItemNum | Position in subitem list of MenuItem. If not desired, set this to MENUNULL. |
On | Boolean flag,
|