<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2>Michael,</FONT></SPAN></DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2>Include this code in your form's module:</FONT></SPAN></DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2>Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As
Long</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2>Private Sub Form_Resize()</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2> If IsIconic(Me.hwnd) <> 0
Then<BR> MsgBox
"Minimized"<BR>
Else<BR> MsgBox "Not
minimized"<BR> End If</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff size=2>End
Sub</FONT></SPAN><SPAN class=839140514-24062003><FONT face=Arial color=#0000ff
size=2></DIV>
<DIV><BR></DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Michael Brösdorf
[mailto:michael.broesdorf@web.de]<BR><B>Sent:</B> Tuesday, June 24, 2003 8:56
AM<BR><B>To:</B> accessd@databaseadvisors.com<BR><B>Subject:</B> [AccessD] How
to find out wether a form has been minimized<BR><BR></FONT></DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff size=2>Dear
group,</FONT></SPAN></DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff size=2>is
it possible to find out wether a form has been minimized in the OnResize-Event
of that form(something like Me.WindowState=acMinimized)?</FONT></SPAN></DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff
size=2>TIA,</FONT></SPAN></DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=670244613-24062003><FONT face=Arial color=#0000ff
size=2>Michael</FONT></SPAN></DIV></BLOCKQUOTE><br><br>--------------------------------------------------------------------------------------------------------------------<br>This email and any files transmitted with it are confidential and<br>intended solely for the use of the individual or entity to whom<br>they are addressed.<br>If you have received this email in error please notify the<br>originator of the message. This footer also confirms that this<br>email message has been scanned for the presence of computer viruses.<br><br>Any views expressed in this message are those of the individual<br>sender, except where the sender specifies and with authority,<br>states them to be the views of Tappe Construction Co.<br><br>Scanning of this message and addition of this footer is performed<br>by SurfControl E-mail Filter software in conjunction with <br>virus detection software.<br></BODY></HTML>