📄 1730.html
字号:
<html> <head> <title>a simpler way</title> </head> <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="red" VLINK="#808080" ALINK=""> <center> <h1>a simpler way</h1> </center><HR><p>Posted by <a href="mailto:yfwu@iname.com">小吴</a> on January 18, 1998 at 18:16:46:<p>In Reply to: <a href="1723.html"><b>Re: The height of the menu bar and the title bar</b></a> posted by 陈凯程 on January 16, 1998 at 22:54:41:<p>If you want to know the exact size of a border or a menu bar, use the method posted by Chen above. Of you just want to know the totol height of 2 borders and a menu bar, you can use the code follows, assuming the scalemode of the form is twips.<p>Height - ScaleHeight<p>The unit of the return value is also twips.<p>Your 2nd question, locking the form from being moved, must write a hook function to interpret some window messages like WM_GETMINMAXINFO etc.<br><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 1730--></ul><!--end: 1730--><br><HR><p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -