TFlatBtn Component
Version 1.0

                Copyright (C) 2000 by Spyder Mania Software Co.
				WWW:   http://www.spydermania.com/
				Email: spyder@spydermania.com
				ICQ UIN: 43133690


Designer:	John @ Spyder Mania Software Co. (spyder@spydermania.com)
Date:		11/06/00

Function:	TSpeedButton descendant that simulates Windows 95/98 task bar
                button style.  Rises when the mouse is over the button, returns
		flat when the mouse leaves.  

Requirements:   Delphi 1.0, may work with other versions, however it has not been tested!

Installation:   At least copy flatbtn.pas and flatbtn.dcr to a common Delphi vcl directory.
                Make sure the directory is listed in the Delphi Search Path.

		Choose Options, Install Components... from the menu bar.  Click the 'Add'
                button, then 'browse' to the directory where flatbtn.pas is located.  
                Select flatbtn.pas, then press 'Ok' 3 times (I think) in order to install 
		TFlatBtn and rebuild the component library.

BUGS:		Okay, go easy on me.  This is my first publically released delphi component <G>

		If you find a problem with this componet, have a suggestion for an update, or have
		any comments on this component, please email me at spyder@spydermania.com

Using TFlatBtn:
		After the component is installed, all you need to do is drop a button on 
                your application form.  This button can be used as any Standard TSpeedBtn.

		By default, TFlatBtn acts as a standard TSpeedBtn with the appearance of
		Windows 95/98 buttons (well, as close as I can get it anyways).  If you
		want TFlatBtn to appear flat, then rise while the mouse cursor is over the
		button, just change the property 'Flat' to True.

		If Flat is true, the button only rises and returns flat while your application
		is active.  If you want the button(s) to rise and return flat weather your 
		application is active or not, all you need to do is open flatbtn.pas in delphi.
		Scroll down to the begininf of 
		'procedure TFlatBtn.WMMouseMove(var Message: TWMMouseMove);'.  You will see a
		commented NOTE: (you know the blue text in-side the curly brackets {}).
		Below the commented note, there is an If line that looks like:

		If (NOT MouseCapture) and (GetParentForm(Self).Active) Then ....

		Just change the line so it looks like:

		If (NOT MouseCapture) {and (GetParentForm(Self).Active)} Then

		Now your buttons will rise and lower weather your application is active, 
		or not.

		Please accept my apologies if these instructions sound a bit choppy.  This
		is my first component.  If you have any problems, feel free to email me with
		any questions you may have.  If necessary, I will send a copy of the component
		set to raise and lower weather the app. is active or not.

Credits:	A special thanks goes out to Li-Hsin Huang and Erwin Dokter.  Li-Hsin Huang
		created a Windows 3.1x shell called calmira, free with open Delphi 1 source.

		Erwin Dokter is the current programming coordinator of Calmira.

		Visit http://www.calmira.org/ for more information on Calmira.
		
		I, shall we say, peeked in Calmira VCL TStyleSpeed source code to help me better
		understand Canvas drawing.  Also helped me to make the normal (or raised) state
		of the button appear more like Windows 95/98 buttons.  I hope there is no 
		problem with this!

Special Note:	Are you a 16-Bit programmer?  Are you a member of the Programmers16 
		Mailing List?  If not, please visit 
		http://www.spydermania.com/gwhs/mail.html for more information and to sign up!

Future Plans:	Plan to make an additional property that you can set at runtime, or in application code
		by option setting. This property will allow you to easily decide weather the flat activity of the button
		works while your application is active or not.  I do not like leaving it at telling you how to modify 
		the code to accomplish this task, however, I am having trouble catching up on email from a month ago 
		right now <G>

		Also plan to make a separate component, TCustomPane which will turn into a fully customizable toolbar.
		When I say fully customizable, I mean, I will provide several different possible displays for various
		Toolbar styles.  i.e. The tool bar on Windows 95/98 task bar, make one similar to that, and an application
		tool bar commonly seen in M$ Word for example.  This is just in the idea stage.

		Have any other suggestions for TFlatBtn, or suggestions for other components, talk to me!
		spyder@spydermania.com

Legal issues: 
              	This software is provided 'as-is', without any expressed or
	        implied warranty. In no event will the author be held liable
              	for any damages arising from the use of this software.

              	Permission is granted to anyone to use this software, to alter it,
              	and redistribute it freely, subject to the following restrictions:

	        1. The origin of this software must not be misrepresented,
                   you must not claim that you wrote the original software.
                   If you use this software in a product, an acknowledgment
                   in the product documentation, help file, or about box would 
		   be greatly appreciated but is not required.

                2. Altered source versions must be plainly marked as such, and
                   must not be misrepresented as being the original software.

                3. This notice may not be removed or altered from any source
                   distribution.

		4. If you make any enhancements, changes, or modifications to this Delphi 1
		   component, I would appreciate it if you would email me giving me a link
		   to the *.pas source code just so I can see what improvements were made.
	
                5. I would appreciate some feedback, especially bugs or imporovements 
                   that you think that I should make.


                
