SystemColors.DSU
Version 2.0
By Chris Gingerich
http://cgs.vdsworld.com
This Visual Dialogscript 5.0 unit file allows you to get and set the system colors in real time without rebooting.
Useage:
- Include the DSU file
#Include Systemcolors.dsu
- Define the finctions
#Define Function,GetColor
#Define Function,SetColor
- FUNCTIONS
%t = @GetColor([Color Item],[Format])
[Format] can be HEX,RGB or HTML. Default is HEX
Returns Color in [Format] or NIL
Color Items are as follows:
Scrollbar
Background
ActiveTitle
InactiveTitle
Menu
Window
WindowFrame
MenuText
WindowText
TitleText
ActiveBorder
InactiveBorder
AppWorkspace
Hilight
HilightText
ButtonFace
ButtonShadow
GrayText
ButtonText
InactiveTitleText
ButtonHilight
ButtonDkShadow
ButtonLight
InfoText
InfoWindow
ButtonAlternateFace
HotTrackingColor
GradientActiveTitle
GradientInactiveTitle
%t = @SetColor([Color item(s)],[Color(s) in HEX format])
Example %t = @SetColor(2,Scrollbar|Background,FFFFFF|000000)
%t will return 1 if successfull or NIL if not
- COMMANDS
Register [Registration Name],[Registration Code]
You must call this command with your registration info before you call any of the functions otherwise you will get the shareware reminder.
REGISTRATION:
Registration can be made through PAYPAL. The cost for registration is $5.00 USD. Click HERE to register.
Please contact
support@cgs.vdsworld.com with any questions or comments.