home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
utility
/
freedk25
/
freedock.doc
< prev
next >
Wrap
Text File
|
1996-02-14
|
15KB
|
346 lines
FreeDock v2.5a 03 JUN 95
============== ---------
What is FreeDock ?
==================
Freedock is another Windows dock program, the difference between this one and
all the other dock programs I have seen, are that you get the source code &
this one does everything I want it to do. If it does not do everything you
want it to do, feel free to modify it and add functionality to it.
Freedock is available as 16 and 32 bit executables and runs happily
under NT (I've only tried Intel so far but I would be interested if
anyone tries comipiling on any other NT architecture).
Freedock from v 1.11 is compiled under MS Visual C/C++, although it
should still compile under Borland C/C++.
Who Wrote it ?
==============
Author : Sean Gordon
22 Buller Street
Lochgelly
FIFE
KY5 9AH
Email : sean.gordon@dundee.ATTGIS.com
How Free is FreeDock ?
======================
Completely free, if you like it, send me an Email or a postcard.
You can modify the source code & redistribute it with three conditions:
1) The program must remain FreeWare.
2) The Source code must always be provided.
3) The program & Docs must always mention my name.
What's new since v2.00 ?
========================
Freedock ported to Windows NT as well as 16 bit windows, now supplied in
16 & 32 bit versions.
Applications in the dock can now be started as "Always On Top"
Code ported to Microsoft Visual C (v1.5 for 16bit & v2.0 for 32bit) mostly
minor changes.
The method for Grabbing a window has been changed to support NT.
A Previewer is now provided to allow the stored window size/position for an
application to be viewed and changed without having to start the application.
The entire dock can be scaled to a size which suits the user, from double
size down to 1/8th size.
Applications in the dock can now be started in "Separate Memory" (NT only).
Slots can be locked into the dock to stop them accidentally being dragged off.
Separate .INI files for the 16 and 32 bit versions of FreeDock, the .INI file
is now called FREEDK16.INI or FREEDK32.INI
How do I install it ?
=====================
Copy the required version FREEDK16.EXE or FREEDK32.EXE (16 or 32 bit)
into a directory of your choice and then add it to your windows startup
folder.
If you are upgrading from an older version of FreeDock, copy the FREEDOCK.INI
file to either (or both) FREEDK16.INI or FREEDK32.ini depending on the version
you are using.
If you have not used FreeDock before, copy one of the .INI files into your
windows directory, this is not strictly necessary since FreeDock will create
the file if it does not exist, and assume a set of default values.
Why is this manual so short ?
=============================
The documentation is very brief since I currently do not have the time to
write a proper manual, although most of the functionality is fairly
obvious (famous last words :-) What d'ya mean it's not intuitive ?
What Does it do ?
=================
This is a dock program for windows, it supports drag'n'drop of applications
into to dock to add them and also the launching of apps by dropping files
on them.
Unique feature is the ability to drop a collection of files into the dock
at the same time and have them put into consecutive free slots.
Freedock also allows you to specifiy the start up condition of the
applications in the dock.
See the following sections for more details.
Drag and Drop
-------------
I've had a few people ask me what this is, so here is a brief explanation.
Drag & Drop was introduced in Windows 3.1 & is only supported by the
Windows file manager (of the programs which are part of windows).
To drag an application or file into FreeDock, move the mouse over the
file in File Manager, press & hold down the left mouse button (a small icon
will now appear at the mouse pointer) move this until it is over a free
slot in FreeDock & release the mouse button. The Application or document
file's associated application should now appear in FreeDock.
Another way of looking at it is that it is the same as copying a file in
File Manager except you "copy" the file to FreeDock instead of the destination
directory.
You can also add an application to the dock by right clicking an empty slot
and filling in the Application Name (with or without the path) and selecting
OK. FreeDock will then fillout the Runtime Dir & Icon File fields with the
default values.
Special Slots
-------------
The dock also has 3 special slots which are built-in to the program :
1) Exit Windows - Exits windows with or without confirmation
2) Check MailBox - Checks mail box files for new messages arriving, this
requires the mail box file to be visible to dos as a
normal file ie. a unix mailbox visible via NFS or a
similar virtual drive mechanism.
3) Clock - A clock in a slot (Not Implemented yet)
These slots can be activated or deactivated in the Main Dock Options dialog,
currently any changes will not take effect until the next time FreeDock
is started.
Slot Options
------------
Every slot (except the empty ones) in the dock has an options dialog which can
be accessed by clicking the right mouse button with the cursor over the slot.
- Main Dock Options : Activate built-in slots (as above)
Dock Visibility, this provides 2 options
1) Always On Top - Keeps the dock on top of all
windows even when it is not active.
2) Max View - if this is active, whenever another
window is Maximized it will not be allowed to
cover the dock window. (Not Yet Implemented)
Dock Postion - This changes the orientation of the
dock i.e. horizontal or vertical.
Single Click - If this option is checked, the user
can start applications in the dock with
a single click.
Slots in Dock - The arrows control the number of slots
in the dock between 0 & 32. The value
for the maximum dock size is actually taken from
the MaxDockSize field in the [Main Options]
section of the .ini file, this value can be
altered as required to provide more slots, or
to save memory.
Dock Size - This option sets the size (in pixels) of
each slot in the dock and therefore the actual
size of the dock. This has the effect of
scaling the entire dock up or down in size.
Lock Dock - This option allows the slots in the dock
to be locked in position to stop accidental
moving or deleting of slots.
- Exit Windows Options : Confirm Exit ?
- Mail Check Options : Mail Box File - The path to the mail box to watch.
Frequency of checking - How often to check the mail
box. Sound for new mail - Make a noise when new mail
arrives.
- Application Options : Startup - Set the Startup state of the application,
the first 3 options are self explanitory,
the last is to start the application with
a stored position and size. This position
and size is set by dragging the Window
Grabber tool and dropping it onto the
window whose size & Position you want
to keep. Whilst the Grabber Tool is being
dragged, the Application Options dialog is
temporarily hidden.
Always On Top - This option tells FreeDock to start an
application so that the application's window
is always on top. This is available in
combination with one of the startup states
described above.
Separate Memory - This option tells FreeDock to start
the application in a Separate Memory Space.
This option only applies under NT when
starting 16 bit applications, it is ignored
if the application is 32 Bit.
Window Grabber - This is a tool which is dragged off
the dialog box an dropped on the
window whose size/position you wish
to store.
Hide Dialog When Grabbing - This check box allows the
dialog box to automatically hide
itself when you are using the
grabber to grab a window.
Preview - This allows the stored window position for
an application to be previewed and changed.
Icon Selector - This displays the current Icon, and
the number of icons in the file, the
scroll bar is used to change the icon.
Or you can click on the icon to pop up
a dialog which offers a choice of all
the icons in a file 50 at a time.
FileName, Parameters & Default dir are self explanitory
Icon File - is the file to extract the appliaction
icon from.
Remove - Remove this application from the dock.
(Same effect as dragging the slot off the dock
altogether and releaseing the left mouse
button.)
Mouse Actions
-------------
Double clicking on an application slot launches the application.
OR if the Single Click option is selected, a single click will launch it.
Double Clicking on the Exit Windows Slot will exit windows.
(With optional prompt)
Double clicking on the FreeDock Slot brings up an about dialog with options to
- Exit FreeDock
Moving the cursor over the FreeDock Slot, pressing the left mouse button and
keeping it pressed, allows the Dock to be dragged to a new position in on the
desktop.
Right Clicking on an application slot dispalys a dialog which allows the applications
details to be edited.
Right Clicking on an empty slot brings up an empty application details dialog & allows
the user to fill in the details of the application, which is then added to the dock
in the position of the empty slot.
Moving the cursor over a slot and pressing the left mouse button and keeping
it pressed, allows the slot to be dragged to a new position in the dock. The
slot can also be dragged off the dock completely, in which case the cursor
becomes a skull & cross bones, indicting that if the slot is dropped here
(i.e. the left mouse button is released) then the slot will be removed from
the dock.
Moving a slot to any free slot position simply moves the slot to that position.
Moving a slot to any occupied position exchanges the position of the two slots
in the dock.
Command Line Options
--------------------
If you have compiled the debug window code into Freedock, the debug window
is activated by specifying /DEBUG on the command line. If this option is not
specified then Freedock runs as normal.
Compiling FreeDock
------------------
FreeDock has been compiled using Microsoft Visual C/C++ v1.5 & v2.0, I have
not tried to compile Freedock with Borland C but I see no reason why
it would not compile with minimal (if any) changes required, since it was
originally written with Borland C.
Files Included
--------------
FREEDK16 EXE - The FreeDock Program (16 Bit)
FREEDK32 EXE - The FreeDock Program (32 Bit)
FREEDK16 INI -
FREEDK32 INI - A default .ini files for FreeDock, if you don't use one,
FreeDock will create one for you in your windows system dir.
README TXT - A very brief README for FreeDock
HISTORY TXT - A brief history of FreeDock
FREEDOCK DOC - A brief manual for FreeDock (This File)
DOCKSRC.ZIP - An archive of the source code, containing :
MAIN C - Main Code Module
DOCKUTIL C - Utilities Module
DOCKWIN C - Main Dock Window Code Module
DRAWBMP C - Bitmap Utilities Module
FREEDOCK H - Header file for FreeDock
RESOURCE H - Header file for resource definitions
FREEDOCK DEF - Definition file for Compiling FreeDock
FREEDOCK RC - Resource script file for FreeDock, you will need a
resource editor to edit this.
FREEDOCK RES - Compiled version of the above Resource script.
BLANK BMP - Blank Slot Bitmap
GRABBER BMP - The Grabber tool Button
GRABBER2 BMP - The Grabber tool Button with grabber dragged off.
CLOCK ICO - Icon for Clock Slot (not implemented)
EXIT ICO - Icon for Exit Windows Slot
FREEDOCK ICO - Title Icon for Freedock
MAIL ICO - Icon for Mailbox with mail
NOMAIL ICO - Icon for Mailbox with no mail
HAND CUR - Cursor for dragging a slot
GRABBER CUR - Cursor for grabbing a window
REMOVE CUR - Cursor for dragging slots off the dock to
delete them
FREEDK16 MAK - Make File for Microsoft Visual C/C++ v1.5 (16 Bit)
FREEDK32 MAK - Make File for Microsoft Visual C/C++ v2.0 (32 Bit)
Thanks
======
Thanks to Martin Smith, Angus Foreman, Brian Duncan for testing FreeDock.