|
' *************************************************
' コントロール位置の最適化
' *************************************************
Private Sub Form_Resize()
If Me.WindowState = vbMinimized Then
Exit Sub
End If
Dim rc As RECT
GetClientRect Me.hwnd, rc
With WWW
.Left = 0
.Top = Location.Height
.Width = rc.Right
.Height = rc.Bottom
End With
With Location
.Left = 0
.Top = 0
.Width = rc.Right
End With
End Sub
| |