home *** CD-ROM | disk | FTP | other *** search
-
- ╔═════════════════════════════════════════════╗
- ║ Shopping List for OS/2 Presentation Manager ║
- ║ Release 1.0 ║
- ╚═════════════════════════════════════════════╝
-
- ┌───────────────────────────────────────────────────────────────────────────┐
- │This is the initial release of the OS/2 version of SL. SLPM is a simple │
- │list processing program that implements a computerized shopping list │
- │application under OS/2 PM. It can be used as a basis for future list │
- │processing programs, or just as is. │
- │ │
- │SLPM uses 2 files. One (SLPM.TXT) is the list of all items in your local │
- │stores (well, actually, probably not ALL of them) and contains a one-letter│
- │index representing the store in which the item is found, and a 2-digit │
- │aisle index within that store. The name of the item follows. STORE.TXT │
- │is a list of the store index values as they appear in SLPM.TXT, followed │
- │by the name of the store. │
- └───────────────────────────────────────────────────────────────────────────┘
-
- INSTRUCTIONS
- ------------
-
- To get started, de-ARC the SLPM.ARC file into your SLPM directory. Set
- up SLPM on the start programs list as a PM APP, and make sure that SLPM
- is the working directory. There is no file open list box, etc. (yet) and
- so the .TXT files MUST be in the current directory with SLPM.EXE.
-
- If you don't live in Madison, Ct. then you will want to use a text editor
- to update the SLPM.TXT and STORE.TXT files. Use the File Print All option
- to print the whole list and take it for a walk in your local downtown.
- It's rather fun, actually.
-
- OPERATION
- ---------
-
- Being a PM APP, SLPM is basically quite simple to use. The left mouse
- button selects an item as something you want to buy. The right mouse
- button says "buy it and I have a coupon". Keyboard equivalents are
- the SPACE bar and SHIFT-SPACE. If you type a number from 0-9 while
- positioned on an item, you are saying that you want to buy that many of
- it.
-
- If you want to add something to the list, position the cursor to something
- in the same aisle and use "Item Copy" from the menu or Ctrl-C. You can
- also add from scratch (Item Add) or delete an item.
-
- If you type in an alphabetic character, you go to the first list item
- beginning with that character. If you keep typing you will move through
- the list to the item that you are looking for. Don't hit the space bar,
- since that is an accelerator key. Home and End move to the first and
- last list items, respectively.
-
- When you are done, use "File Print" or Ctrl-P. SLPM is set up for the
- 4201 ProPrinter using the IBMNULL driver. Use the single sheet feed
- on the 4201, and print on both sides of the paper.
-
- Files
- -----
-
- SLPM IBM C/2 Make File
- SLPM.C C source file (IBM C/2)
- SLPM.DEF Module Definition File
- SLPM.H C header file
- SLPM.ICO Shopping List Icon
- SLPM.RC Resource Compiler file
- SLPM.TXT Sample Shopping List file
- STORE.TXT Sample Store file
- SLPMCHK.BMP Bitmap used for a checkmark
- SLPMCPN.BMP Bitmap used for a coupon symbol
-
- Misc.
- ----
-
- SLPM is not a finished product. There are things to do, like file open
- dialogs, etc. Not a lot of error checking is done. It is basically a
- port of a DOS version called SL. However, it is a decent example of how
- to do a lot of practical things under PM. If one notes a structural
- similarity to Mr. Charles Petzold's various PM samples, it is only because
- I stole a lot of code from his book, "Programming the OS/2 Presentation
- Manager". Many thanks to him.
-
- SLPM was developed under IBM OS/2 Standard Edition 1.1, and ported to
- SE 1.2 with the addition of support for changing the scroll bar thumb
- sizes. It uses IBM C/2 Makefile formats, so this may have to be changed
- for the Microsoft C 5.1 format.
-
- Pleasant Processing to all!
-
- Steve Blunden
- 76060,2001