📄 1723.html
字号:
<html> <head> <title>Re: The height of the menu bar and the title bar</title> </head> <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="red" VLINK="#808080" ALINK=""> <center> <h1>Re: The height of the menu bar and the title bar</h1> </center><HR><p>Posted by <a href="mailto:h_c_chan@hotmail.com">陈凯程</a> on January 16, 1998 at 22:54:41:<p>In Reply to: <a href="1719.html"><b>The height of the menu bar and the title bar</b></a> posted by Rice41 on January 16, 1998 at 07:18:06:<p>: I would like to know the exact 'height' for a menu bar and title bar to set the control within it. Thanks<p>You can use GetSystemMetrics to find them out.<p>Declare Function GetSystemMetrics Lib "user32" Alias (ByVal nIndex As Long) As Long<p>Public Const SM_CYCAPTION = 4<br>Public Const SM_CYMENU = 15<p>If you want to find the height of the window's caption, then use SM_CYCAPTION as nIndex when you call this function. If you want to know the height of the menubar, then use SM_CYMENU instead.<br><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 1723--><!--top: 1730--><li><a href="1730.html"><b>a simpler way</b></a> 小吴 <i>18:16:46 1/18/98</i>(<!--responses: 1730-->0)<ul><!--insert: 1730--></ul><!--end: 1730--></ul><!--end: 1723--><br><HR><p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -