'********************************************************************************************
'Documentation to the Standard DLL "dsbtnclr.dll"	 (c) 2002 by J. Thuemmler, Delphin Software
'********************************************************************************************
'+++++++++++++++++++++++  !This DLL is Freeware and provided As Is!  ++++++++++++++++++++++++
'********************************************************************************************
Purpose of the DLL:

The DLL makes it very simple to give your VB Commandbutton a Text Color. Therefore, you must 
set the Style Property of the according button to "1" (Graphics). Then, on program start 
(usually in the Form_Load Procedure) call the function "SetColor()", passing the button 
handle (hwnd) and the desired color. 
For changing the color, call the function "ChangeColor()" in the same way.

To use the DLL, put it into the projects folder or - for common use - into the system folder.
Don't try to register it ...
'********************************************************************************************
Function declaration:

Declare Function SetColor& Lib "dsbtnclr" (ByVal Hwnd&, ByVal Color&)
'--------------------------------------------------------------------------------------------
Parameters:

Hwnd&
Handle of the commandbutton to be colored.

Color&
A long value describing the desired color (may be also a function call like "QBColor()").
'--------------------------------------------------------------------------------------------
Return value:

Always 1 (True).
'********************************************************************************************
Function declaration:

Declare Function ChangeColor& Lib "dsbtnclr" (ByVal Hwnd&, ByVal Color&)
'--------------------------------------------------------------------------------------------
Parameters & Return value:

See SetColor&(). 
'********************************************************************************************
Function declaration:

Declare Function SetOffset& Lib "dsbtnclr" (ByVal Offset&)
'--------------------------------------------------------------------------------------------
Parameter:

Offset&
Normally, for displaying the "pressed" state of a button, Windows uses a shifting of the
button caption by 2 pixel to the right and down. This is also the default value, used by
the DLL. If you should need another value, you can set it calling this function and passing
the according value.  
'--------------------------------------------------------------------------------------------
Return value:

Always 1 (True).
'********************************************************************************************
Delphin Software
Mail:  delphinsoft@gmx.de
Phone: 049 07251 18671
Fax:   049 07251 989773
'********************************************************************************************
