<!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.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=188372114-24062003><FONT face=Arial color=#0000ff size=2>Thank
you - just what I was looking for :-)</FONT></SPAN></DIV>
<DIV><SPAN class=188372114-24062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=188372114-24062003><FONT face=Arial color=#0000ff
size=2>Michael</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
accessd-bounces@databaseadvisors.com
[mailto:accessd-bounces@databaseadvisors.com]<B>Im Auftrag von </B>Brett
Barabash<BR><B>Gesendet:</B> Dienstag, 24. Juni 2003 16:10<BR><B>An:</B>
'accessd@databaseadvisors.com'<BR><B>Betreff:</B> RE: [AccessD] How to find
out wether a form has been minimized<BR><BR></FONT></DIV>
<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></BLOCKQUOTE></BODY></HTML>