home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
anbt2.zip
/
ANIBUTTN.DOC
< prev
next >
Wrap
Text File
|
1993-10-08
|
7KB
|
170 lines
AniButtn V1.02
Copyright 1993, Greg Ratajik.
November 3, 1993
Genie : G.RATAJIK
CompuServe: 74555,542
Internet : G.RATAJIK@genie.geis.com
or : 74555.542@compuserve.com
Voice : (301)/916-0018
To register, send $15 check or money order, payable
to Greg Ratajik, to:
Greg Ratajik
1722 Forres Ave.
St. Joseph, MI 49085
NOTE: This is the OS/2 2.0 Version.
-------------------------------------------------------------------
AniButtn is a Shareware program. If you find AniButtn
useful, please send $15 to the above address (And if you find it
VERY useful, feel free to send what you think is a fair price.)
Feel free to play around with and copy AniButtn, but, if you use it
in one of your programs, and you sell that program, you must
register AniButtn. If you don't, or you modify the AniButtn DLL,
LIB or OBJ in anyway, you will be in violation of AniButtn's
copyright.
I hope you find AniButtn useful, but (DISCLAIMER) I am
in no way responsible for any damages the use of AniButtn may
cause.
If you have any questions, comments, ideas, etc, feel free to
contact me. I'm always looking for ways to improve my software!
---------------------------------------------------------------
I. General
AniButtn provides a program with a simple,
straightforward way to create and use 2-state graphical
pushbuttons. AniButtn also provides a way for the user to get
help when moving the mouse pointer over a AniButtn, via a
status bar. AniButtn can be used for any pushbutton, but is
especially nice for Toolbars.
II. Using AniButtn (DLL Version.)
A. To add AniButtn to a program:
In the MAKE file:
o and ANIBUTTN.LIB to the LINK statement, in addition
to any other libraries you may be using.
In the RC file (if using)
o Add a control for AniCreateButton to use. This
control should be of type WC_BUTTON, WS_USERBUTTON
In the PROGRAM FILE
o add #include "ANIBUTTN.H"
o call the API AniCreateButton to make the button
added in the RC. An example of this call would be:
AniCreateButton(Hwnddlg, /* Handle of Dialog */
TBB_FILE, /* ID of control */
ID_INFO1, /* ID of UP bitmap */
ID_INFO2, /* ID of DOWN bitmap */
68, /* X Size of bitmaps */
31, /* Y Size of bitmaps */
"This is the ABOUT Button",/* Status bar text */
TX_TBB_HELP); /* ID of status bar */
The Status Bar text and ID of status bar are
optional. When the user moves the mouse arrow over
the AniButtn, It will display the status bar text
in the status bar (which should be a TEXT field)
o Processing on the AniButtn from this point on is
the same of any other pushbutton.
o When exiting the Window or dialog, you should use
the cleanup function AniDeleteButton. An example of
this call would be:
AniDeleteButton(Hwnddlg, TBB_FILE);
For a complete example, see TOOLBAR.C and it's accompanying
files. If you have any question on implementing AniButtn,
please feel free to get in touch with.
IV. Other shareware/PD programs to look for:
o ChatterBox - Allows users to send one line messages to
each other across a LAN. Very nice for non-critical
messages. One of the first OS/2 1.3 program to use real
custom animated pushbuttons (The first AniButtn program).
o DeleteDir - A simple full-screen program to delete a
directory and all files/directories that are children to
it.
o ChkPath - Will check the path's you set in your
config.sys, and let you know if you've got problems.
o Pwh - Path'ed Where. Will search a path for a file. PWH
will tell you every place it hit's the file. Very useful
for checking what version of a program you using.
o SMPrint - Prints a text file on a HP printer, in
landscape mode.
o MDD - Multiple make directory. MDD will create a
multiple directories (i.e. if you wanted to make
C:\GREG\PROGRAM\SOURCE20\MDD\RELEASE, MDD could do it in
one shot.)
o WHO - Will display information about all users of a
LAN/Domain.
o QWHO - Displays all user ID's currently on a LAN/Domain.
o NetChat - This program allows many users to have Chat
sessions over the LAN. It allows each user to set up
Conference groups and security levels. Each Conference
can have as many users as you want chatting. This is
similar to CompuServer's CB, or a BBS's multi-node chat
area.
o NetMail - Improved net massaging (i.e. "Blue Boxes") This
program gives you better control of system level LAN
messages. You can enter message subjects, set priority
levels, and type in longer messages.
NetMail allows each user to set up their own message
groups, along with global message groups. Each user can
choose which groups to receive messages from, and what
groups to send messages to.
NetMail also let's you choose whether to get the message
in the traditional VIO BlueBox (but better looking!), a
PM Message Box, or to display no message but to retrieve
it at a latter time.
This program makes Net Massaging easier to use, and less
annoying to the recipients.
o Vtree - Visual directory tree.
o EDCNFG - PM based program that will verify everything's
okay in your config.sys, keep track/retro changes into
multiple config's, and edit/setup a config.sys
o HPMLib - Library tracking system
o HPMCook - Cooking software
o HPMDiet - Dieting software
o DosText - Change the message a OS/2 program gives when
running it from DOS.