V
Van T. Dinh
You can use the WinAPI IsZoomed().
In a Standard Module, add the following declaration:
Declare Function IsZoomed Lib "user32" ( _
ByVal hwnd As Long) As Long
You can then check whether the Form Object F is maximized
or not by:
If IsZoomed(F.hwnd) <> 0 Then
'Form F is maximized
Else
'Form F is not maximized.
End If
HTH
Van T. Dinh
MVP (Access)
In a Standard Module, add the following declaration:
Declare Function IsZoomed Lib "user32" ( _
ByVal hwnd As Long) As Long
You can then check whether the Form Object F is maximized
or not by:
If IsZoomed(F.hwnd) <> 0 Then
'Form F is maximized
Else
'Form F is not maximized.
End If
HTH
Van T. Dinh
MVP (Access)