 |
Version 1.18 beta
Copyright 2006 - 2008 PurpleSwift Software CC
www.purpleswift.com
Updated 1 October 2008 |
This version of CoolFrames is for Clarion 6
and 5.5
only
The visual impact is the first thing that your
users will notice about your application. You spend time and effort
developing excellent software and now CoolFrames provides an elegant
way to make your application look really slick.
CoolFrames provides custom graphics for your
application window frame, caption and caption buttons.
-
3 Graphic styles are provided.
-
Your own graphics can easily be added.
-
Takes less than 1 minute to add to your
application.
-
All graphics can be linked into your
application – single exe, no missing files.
Run the install program CoolFramesInstall.exe.
Notes
-
When upgrading, simply install the new CoolFrames
over the currently installed version. It is
not necessary to uninstall the previous version.
The
install program does the following.
-
Copies the CoolFrames files to your clarion
directory as per table below.
-
Adds a shortcut menu for CoolFrames. Start
| All Programs | Clarion 6 Accessories
| CoolFrames
-
Updates the global redirection file as per the table
below.
-
Registers the CoolFrames template.
Scenario 1 : Single exe
-
Click the
Global button and click the Extensions button on the
Global Properties window.
-
Click the
Insert button and then select the EnableCoolFrames Extension.
-
Click OK to
close the global settings dialog.
Scenario 2 : Multi exe with data dll
For the data dll.
-
Click the
Global button and click the Extensions button on the
Global Properties window.
-
Click the
Insert button and then select the EnableCoolFrames Extension.
-
Click the
Advanced tab
-
Check the
This is a multi DLL application
-
Check the
This is the data DLL
-
Click OK to
close the global settings dialog.
For the exe and other dll’s.
-
Click the
Global button and click the Extensions button on the
Global Properties window.
-
Click the
Insert button and then select the EnableCoolFrames Extension.
-
Click the
Advanced tab
-
Check the
This is a multi DLL application
-
Click OK to
close the global settings dialog.
EnableCoolFrames
Extension

Frame
Style
This style will be used as the default style for
all windows in your application. Selecting
one of the 3 standard styles results in the
graphic images for that style being linked into
your application.
Use the "Style Settings" button to change style
specific settings.
Frame
Transparency
0
is invisible and 255 is opaque (solid, no
transparency). This transparency
factor is applied to the existing transparency
in the graphics images. What this means is
that the transparent parts of the "Wire on
Glass" images will remain transparent even with
a transparency setting of 255.
Gray
image saturation
This is used where "Grayed out" images are not
provided. If you only provide the normal
window icon then this property is used to render
a grayed out version of your icon.
Caption Text
You may customize your caption text font
settings here.
CoolFrames
Extension

Checking the "Disable CoolFrames in this procedure"
will remove all CoolFrames template generated code
from this procedure. This can be used to
exclude individual windows from getting a CoolFrames
style.
The CoolFrames class has a lot of methods and
properties. The few that you might like to use are detailed below.
The class is prototyped in the include file Clarionxx\3rdParty\LibSrc\CoolFrames.inc
where you can view the full listing.
This product is copyright © 2006
- 2008 by PurpleSwift
Software CC. Your application(s) do not require any licensing or
royalties for including CoolFrames.
This
product is provided as-is. Use it entirely at your own risk. Use of
this product implies your acceptance of this, along with the
recognition of copyright stated above. In no way will PurpleSwift
Software CC, their employees or affiliates be liable in any way for
any damages or business losses you may incur as a direct or indirect
result of using this product.
For standalone applications the C60CFMX.DLL
will need to be distributed with your application. This DLL is not
used in Local Mode compiled applications.
For running under Win98 and Win2K you
will need the GDIPLUS.DLL.
If you have used your own graphics images then
these will also be required unless they are linked into your
application.
CoolFrames
supports ABC, Legacy, DLL mode, Local mode and Multi-DLL
applications.
CoolFrames
has been tested under Win98, Win2K, WinNT and WinXP.
For running under Win98 and Win2K you
will need the GDIPLUS.DLL.
CoolFrames
is able to show the background images through the
transparent portions of your window frames. The
background is updated whenever the window gains focus.
This does not work properly with MDI child windows.
Background changes are not visible on MDI child windows.
Download the latest version of CoolFrames from
www.purpleswift\tools\CoolFrames\CoolFramesInstall.exe
-
How do
I change the frame style at runtime?
To have the graphics images for the other styles
available (compiled in) check the Include all
style images in project option on the advanced
tab. Use the
FrameStyle
property to select the style at runtime.
-
My app
has many windows and I only want to add CoolFrames
to a few windows. Is there a better solution
than going to each procedure and Disabling
CoolFrames?
Use the Set CoolFrames default setting to
Disabled option on the Advanced tab of the
CoolFrames Global extension. You will
then only need to Enable CoolFrames in the required
procedures.
-
Some
of my procedures that use third-party templates do
not have CoolFrames. How can I add the
CoolFrames extension to these procedures?
Use the Add CoolFrames to all procedures except
SOURCE option on the Advanced tab of the
CoolFrames Global extension. If you open the
extension dialog on the offending procedure then the
CoolFrames template will appear.
Version 1.18 beta (1
October 2008)
-
Fixed
bug changes to menu text was not shown.
Version 1.17 beta (12
August 2008)
-
Fixed
bug where procedure Char caused duplicate lable.
-
Removed test images left in 1.16. :-(
Version 1.16 beta (12
August 2008)
-
Fixed
bug where frameless windows (splash window) were
given CoolFrames.
-
Added
clarion 6.2 build 9047 version to the install file.
-
Fixed
bug in template where importing procedures from a
CoolFrames .APP created duplicate CoolFrames
extensions which you could not delete.
-
Added
runtime object initialization check.
-
Added
Set CoolFrames default setting to Disabled
option. See FAQ 2.
-
Added
Add CoolFrames to all procedures except SOURCE
option. See FAQ 3.
Version 1.15 beta (17
January 2008)
-
Fixed
bug where MDI child windows sometimes opened without
any frame drawn.
-
Fixed
bug where MDI child windows sometimes opened behind
calling window.
Version 1.14 beta (25
October 2007)
-
Fixed
bug where some non Frame windows did not re-draw
client area after restore.
-
Fixed
bug where the frame caption text did not update on
the desktop taskbar.
-
Added
support for re-colouring wallpaper image files.
(Window & toolbar)
-
Fixed
bug where some windows open with corrupted border
images.
-
Fixed
bug where toolbar wallpaper sometimes was applied to
the window.
-
Added
support for textured frames.
-
Added
support for gradient frames.
-
Reduced memory consumption by about 50%.
-
Added
support for the clarion QBE.
-
Modified the CoolFrames.disable using a Global
variable to work in a multi DLL app.
Note : Global variable is now required to be
declared as type BYTE.
-
Added
cf_TemplateDisabled equate for use with OMIT('*** CF
Stuff ***',cf_TemplateDisabled)
Version 1.13 beta (8
May 2007)
-
Fixed
bug where windows without a system menu were given
an icon and close button.
-
Fixed
bug where clarion buttons would appear over the
CoolFrames buttons under Win2000.
Version 1.12 beta (24
April 2007)
-
Fixed
bug where restoring and MDI Frame from iconized left
the client area unpainted.
-
Fixed
bug where MDI child windows sometimes opened with a
little of the old titlebar showing below the
CoolFrames titlebar.
Version 1.11 beta (17
April 2007)
-
Fixed
bug where CoolFrames broke text field mouse
actions on MDI Child windows.
Version 1.10 beta (19
March 2007)
-
Fixed
bug where CoolFrames disabled non-menu hotkeys.
Version 1.09 beta (16
March 2007)
-
Fixed
bug in template, made disable variable optional.
-
Fixed
bug in Clarion 6 template, "Unknown variable
%INIActive".
-
Known
issue. WinXP buttons sometimes seen behind CoolFrames
buttons.
Version 1.08 beta (15
March 2007)
-
Fixed
installer to actually install clarion 5.5 files.
-
Fixed
various bugs in clarion 5.5 template.
-
Fixed
bug where the returned caption text was sometimes
corrupted.
-
Fixed
bug where the CoolFrames template extension was
sometimes added to "source" procedures.
-
Added
template setting where a user variable may be used
to disable CoolFrames at runtime. Single EXE
mode only.
-
Fixed
bug where menu hotkeys were case sensitive.
Version 1.07 beta (26
February 2007)
-
Added
clarion 5.5 build to the install file.
Version 1.06 beta (24
February 2007)
-
Fixed
regression in 1.05 where MDI Child window
transparency broke.
-
Known
issue. MDI Child Maximize not supported.
(Buttons should merge into MDI Frame window)
This will be addressed in the next release of
CoolFrames.
-
Added
"Centre Text" option to "Caption Text" button.
-
Fixed
bug where caption text colour was not set.
Version 1.05 beta (23
February 2007)
-
Fixed
bug where CoolFrames was not compatible with
UltraTree.
-
Added
clarion 6.2 build 9048 version to the install file.
-
Fixed
bug where vista style border settings caused compile
error.
-
Fixed
bug where window sizes would grow on each open /
close.
-
Fixed bug where the
clarion frame would appear as the window was closing.
-
Fixed
bug where the clarion buttons would appear over the
CoolFrames buttons under Win98
-
Fixed
template legacy support.
Version 1.04 beta (16
February 2007)
-
Fixed
bug where CoolFrames was not compatible with
PowerToolbar.
-
Added
feature. When a custom frame colour is
selected then the buttons are re-coloured to match.
Version 1.03 beta (1
February 2007)
-
Fixed
bug where the caption text descending characters
were clipped.
-
Fixed
bug where windows opened as maximized were still in
restored state.
-
Speeded up image colour setting code.
Version 1.02 beta (9
December 2006)
-
Fixed
bug where CoolFrames would sometimes GPF on startup
in DLL mode compiles.
-
Upgraded installer to SetupBuilder.
-
Added
option to disable wallpaper.
-
Added
option to disable toolbar wallpaper.
-
Refixed bug where on some forms the CoolFrames graphics
failed to display.
-
Refined template to show modified content.
-
Known
issue, MDI Child window maximized frame sizing not
ideal.
-
Know
issue, Sometimes toolbar wallpaper appears in
random position on windows without any toolbars.
Version 1.01 beta (1
December 2006)
-
Fixed
bug where image file with explicit path would not
load.
-
Fixed
bug where CoolFrames would GPF on closing window
with EasyResizeAndSplit.
-
Fixed
bug in MDIChild window positioning and background
image.
-
Fixed
bug where frame graphics around Min / Max buttons
was distorted on maximize.
-
Fixed
bug where there was a gap right of the menu on
maximize.
-
Fixed
bug where on some forms the CoolFrames graphics
failed to display.
-
Added
missing image to example.
-
Added
support for Clarion Desktop (ini file).
-
Know
issue, Not 100% compatible with WinEvent -
ds_VisibleOnDesktop. On some windows the frame
is incorrectly sized.
Version 1.00 beta (8 November 2006)
-
Initial release
|