13283.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>Re: 请问如何用vb写个.........</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 请问如何用vb写个.........</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:ching9@wusnet.net.tw">ching</a> on May 23, 1999 at 16:17:41:<p>
In Reply to: <a href="13280.html">请问如何用vb写个.........</a> posted by chen on May 23, 1999 at 07:14:54:<p>
: 请问如何用vb写个表单随解析大小自动变换表单size?<br>试看看,自己再变化一下,<br>Private Declare Function GetDesktopWindow Lib "user32" () As Long<br>Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long<p>GetWindowRect GetDesktopWindow(), DesktopArea<br>    <br>    'Position form<br>    Form1.Height = 4300<br>    Form1.Width = 6300<br>    <br>    If DesktopArea.Right = 640 And DesktopArea.Bottom = 480 Then<br>        Form1.Left = -505<br>        Form1.Top = 404<br>    ElseIf DesktopArea.Right = 800 And DesktopArea.Bottom = 600 Then<br>        Form1.Left = 645<br>        Form1.Top = 1350<br>    ElseIf DesktopArea.Right = 1024 And DesktopArea.Bottom = 768 Then<br>        Form1.Left = 2354<br>        Form1.Top = 2670<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13283-->
</ul><!--end: 13283-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?