<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=154222201-09112007>Anyone 
looked at the little popup windows from Outlook/Skype messaging/Antivirus 
programs/Google news alerts/, you know the little windows that slide into a 
corner of the screen and/or fade in and out and thought "I would like to be able 
to do that"?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=154222201-09112007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=154222201-09112007>I 
wrote a simple function in a standalone unit that can be called to 
provide&nbsp;several such simple form effects - can be called for any form 
instead of calling the show or hide methods.&nbsp; I thought I would do it as a 
free giveaway, and for anyone to suggest any possible 
improvements.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=154222201-09112007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=154222201-09112007>It 
does not do sounds on show/hide yet, but I may add that 
later.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=154222201-09112007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=154222201-09112007>Anyone 
interested? either email me or I can post it here in email, its not very 
long.&nbsp; And it looks pretty cool.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=154222201-09112007>(I 
have a full test program for it as well.)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>here 
is the description of the parameters</FONT></SPAN></DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff 
size=2>(*<BR>Form Effects</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff 
size=2>Freeware from JBCL - John Bird<BR>A function unit - code only (no form 
attached) that can be called<BR>to provide some pretty form 
effects.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>Call 
by function<BR>jFormEffect(</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aForm&nbsp;&nbsp; TForm or descendent</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aShowfl&nbsp;&nbsp;&nbsp; one of jfeShow jfeShowModal jfeHide 
jfeClose</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
//from here to simplify parameters are in alphabetic order<BR>&nbsp; Note you 
can call using numbers, or if you prefer using the<BR>&nbsp; constant values 
defined below, as they are in scope -<BR>&nbsp; eg for aShowfl can be 1 (show) 
or you can use 
jfeShow<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Hide form can be 3 or jfeHide</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aBorderfl&nbsp; Borderstyle of 
form<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0=no 
change<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
jfeStd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(bsSizeable)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
jfeToolwin&nbsp; 
(bsToolWin)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
jfeNone<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NOTE! only change this when form is not visible</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
acolorfl&nbsp; 0=no set color of 
form<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1=set to 
aColorval folowing<BR>&nbsp; aColorval&nbsp; if set sets color of 
form.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aFadefl&nbsp;&nbsp; 
0=None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1=Fade 
in/out<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form becomes 
gradually less transparent as 
shows,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and more 
transparent as hidden, (fades out gradually).</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aPosfl&nbsp;&nbsp; 0=No Move - use form 
position<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1=Position at 
point on screen, no 
movement<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2=Moveout/Hide into border</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aPosVal&nbsp;&nbsp;&nbsp; 0=none (ie as 
defined)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
rest correspond to clock hour 
positions<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
eg 1= 1 O'Clock is top border, on right 
side<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2=right border, at top&nbsp; up to 12=middle top 
border<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
13=Centre<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
for Show, this is where form ends 
up<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
for Hide, this is where form will disappear 
to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
eg aPosFl=2 and aPosVal=1 means Form slides down when 
shown<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
or slides up into on Hide to or from 1 O'Clock position on 
screen<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
in the case of 1 O'Clock slides down from top right 
hand<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
corner of screen to occupy top right hand corner of 
screen.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
and so on for the other 12 clock 
positions<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
eg 2 O'Clock is same position, but slides in 
from<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
the right screen border on 
show,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
and off to the right on hide.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>&nbsp; 
aRollfl&nbsp;&nbsp;&nbsp; 
0=None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1=Roll 
down/Roll up<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
that is the form drops down from the title bar as shown, 
and<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rolls up 
into the title bar as 
hidden.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can be 
used along with the position function as well.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><SPAN 
class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
<DIV><BR>&nbsp; aSmoothfl&nbsp;&nbsp; one of jfeLow jfeMed jfeHigh&nbsp; how 
many iterations done</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; aTimeval&nbsp;&nbsp;&nbsp;&nbsp; time in Milliseconds to take - 
default 1000</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Note form show ends at transparency,pos and height of form as set when 
called.<BR>after disappears, set to original values so that show and hide do 
valid things...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Note - to avoid windows UI bugs, do not change forms border type while 
the<BR>form is visible, only when not visible (does not repaint 
correctly).<BR>*)<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left>John<SPAN class=154222201-09112007><FONT 
face=Arial color=#0000ff size=2>&nbsp;</FONT></SPAN></P>
<P class=MsoAutoSig align=left><SPAN 
class=154222201-09112007>&nbsp;</SPAN></P></DIV></BODY></HTML>