<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>MENU</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle">MENU</div>
      <hr noshade="true">
      <table cellspacing="3" width="100%" align="center">
         <tr>
            <th bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_th">Description</p>
            </th>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">This statement indicates that interaction with the menu bar occurred.</p>
               <p class="para_td">The button name of a menu item is unique and will playback based on the presence and sensitivity of the menu button. Be aware that buttons removed from the menubar, thru MenuScript, may affect playing back of macros.</p>
            </td>
         </tr>
         <tr>
            <th bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_th">Syntax</p>
            </th>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">MENU, state, button, menu</p>
            </td>
         </tr>
         <tr>
            <th bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_th">Parameters</p>
            </th>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">state= if button is a toggle, 0=off, 1=on buttonid= button identifier menuid= menu bar identifier</p>
            </td>
         </tr>
         <tr>
            <th bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_th">Example</p>
            </th>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">MENU, 0, UG_FILE_NEW UG_GATEWAY_MAIN_MENUBAR MENU, 1, UG_VIEW_POPUP_ZOOM UG_GATEWAY_VIEW_POPUP</p>
            </td>
         </tr>
      </table><br></body>
</html>