<script type="text/javascript">$(function(){0<=window.navigator.userAgent.toLowerCase().indexOf("ucbrowser")&&CaoNiMaDeUc()})</script> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1632085368384154" crossorigin="anonymous"></script><script src="https://autohotkey.top/gtag.js"></script></head> <body> <h1>MenuGetName() <span class="ver">[v1.1.23+]</span></h1> <p>指定菜单的底层 <a href="Menu.htm#Win32_Menus">Win32 菜单</a>句柄获取菜单的名称.</p> <pre class="Syntax">MenuName := <span class="func">MenuGetName</span>(Handle)</pre> <h2 id="Parameters">参数</h2> <dl> <dt>Handle</dt> <dd><p>Win32 菜单句柄(HMENU).</p></dd> </dl> <h2 id="Remarks">备注</h2> <p>只能识别菜单的当前句柄. 当菜单的底层 Win32 菜单被销毁或重建时, 菜单的句柄也会改变. 详见 <a href="Menu.htm#Win32_Menus">Win32 菜单</a>.</p> <h2 id="Related">相关</h2> <p><a href="Menu.htm">Menu</a>, <a href="MenuGetHandle.htm">MenuGetHandle()</a></p> <a href="https://dftg.net">dftg</a><!-- Cloudflare Pages Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "d5a9c4fcb9b6482fa53ce820d892f969"}'></script><!-- Cloudflare Pages Analytics --><script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"rayId":"92b6459828c78720","version":"2025.3.0","r":1,"serverTiming":{"name":{"cfExtPri":true,"cfL4":true,"cfSpeedBrain":true,"cfCacheStatus":true}},"token":"51750bb5dc4f40cc91a5ec55c63bbc01","b":1}' crossorigin="anonymous"></script> </body> </html>