<!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> </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 several such simple form effects - can be called for any form
instead of calling the show or hide methods. 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> </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> </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. 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> </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> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff
size=2>(*<BR>Form Effects</FONT></SPAN></DIV>
<DIV> </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> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>Call
by function<BR>jFormEffect(</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aForm TForm or descendent</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aShowfl one of jfeShow jfeShowModal jfeHide
jfeClose</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
//from here to simplify parameters are in alphabetic order<BR> Note you
can call using numbers, or if you prefer using the<BR> constant values
defined below, as they are in scope -<BR> eg for aShowfl can be 1 (show)
or you can use
jfeShow<BR>
Hide form can be 3 or jfeHide</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aBorderfl Borderstyle of
form<BR> 0=no
change<BR>
jfeStd
(bsSizeable)<BR>
jfeToolwin
(bsToolWin)<BR>
jfeNone<BR>
NOTE! only change this when form is not visible</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
acolorfl 0=no set color of
form<BR> 1=set to
aColorval folowing<BR> aColorval if set sets color of
form.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aFadefl
0=None<BR> 1=Fade
in/out<BR> Form becomes
gradually less transparent as
shows,<BR> and more
transparent as hidden, (fades out gradually).</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aPosfl 0=No Move - use form
position<BR> 1=Position at
point on screen, no
movement<BR>
2=Moveout/Hide into border</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aPosVal 0=none (ie as
defined)<BR>
rest correspond to clock hour
positions<BR>
eg 1= 1 O'Clock is top border, on right
side<BR>
2=right border, at top up to 12=middle top
border<BR>
13=Centre<BR>
for Show, this is where form ends
up<BR>
for Hide, this is where form will disappear
to<BR>
eg aPosFl=2 and aPosVal=1 means Form slides down when
shown<BR>
or slides up into on Hide to or from 1 O'Clock position on
screen<BR>
in the case of 1 O'Clock slides down from top right
hand<BR>
corner of screen to occupy top right hand corner of
screen.<BR>
and so on for the other 12 clock
positions<BR>
eg 2 O'Clock is same position, but slides in
from<BR>
the right screen border on
show,<BR>
and off to the right on hide.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
aRollfl
0=None<BR> 1=Roll
down/Roll up<BR>
that is the form drops down from the title bar as shown,
and<BR> rolls up
into the title bar as
hidden.<BR> Can be
used along with the position function as well.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><SPAN
class=154222201-09112007><FONT face=Arial color=#0000ff size=2>
<DIV><BR> aSmoothfl one of jfeLow jfeMed jfeHigh how
many iterations done</DIV>
<DIV> </DIV>
<DIV> aTimeval time in Milliseconds to take -
default 1000</DIV>
<DIV> </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> </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> </DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left>John<SPAN class=154222201-09112007><FONT
face=Arial color=#0000ff size=2> </FONT></SPAN></P>
<P class=MsoAutoSig align=left><SPAN
class=154222201-09112007> </SPAN></P></DIV></BODY></HTML>