home *** CD-ROM | disk | FTP | other *** search
- ************************* Welcome to STORC v1.0! *****************************
- Distributors/Sysops: please refer to the end of this file for more information
-
- In Short: 'STORC' stands for 'Screen-TO-Resource-Converter'.
-
- Environment: Microsoft Windows 3.x, Standard or Enhanced mode.
-
- Purpose: Converts any window on screen into a dialog resource script
-
- Mission:
- Assists programmers in turning DEMOS written in Visual Basic(tm),
- Object Vision(tm), Power Builder(tm) or any other prototyping tool
- that stores forms in PROPRIETARY format into Windows 3.x
- RESOURCE SCRIPTS!
-
- Why Bother:
-
- After you have created a Highly Polished Prototype using one
- of the high-level tools and it is time to start working on the
- Real Thing... you probably found out that all your beautiful
- forms are stored in the format only readable by the tool itself!
- Does that mean the time spent on aligning all those controls
- is wasted forever and you have to start from scratch with a
- resource editor and a bunch of drawings?
-
- We hope NOT!!!
-
- How it all started:
-
- When Visual Basic refused outright to yield us our forms, and we
- had to deliver a number of pretty complicated converted forms and
- start coding in 2 days, we knew there is no way we could do this
- in time starting from scratch...
-
- Of course the boss did not know(now he does)...He actually got
- very happy with the results. Here is how we became heroes and not
- losers: a simple conversion program! Yes! And all the forms got
- converted in a couple of hours...
-
- More about STORC:
-
- Of course the STORC program we offer now is far more capable than
- that original one. It was pretty difficult for anyone else but the
- original author to figure out how to interpret results... Yes, it
- is true that the original program was only converting control
- coordinates, and not always accurately.
-
- Now STORC also writes out dialog templates, interprets window styles
- and reads in window texts. It has a little editor to help you modify
- what you want, too. The output is ready to be processed by a dialog
- editor (RC, Resource Workshop or any other) with minimal input on your
- side. And the result is... a dialog template exactly matching your
- form(or any other window on the screen)!
-
- Working with STORC 1.0:
-
- Suppose you have a Visual Basic demo product with some forms.
-
- Typically, you would run your demo and launch STORC.EXE.
- To convert a form, you have to have it displayed on the screen,
- so STORC can read it. When you see the form, activate STORC
- and select Window/Find from its main menu. The mouse cursor will
- turn into a special arrow with words 'find window' inside; then
- STORC minimizes itself to let you see your form. All you have to
- do is click on the form window. Note: when you move the mouse above
- windows, window borders are highlighted to indicate which window
- will get selected if you click; we recommend clicking on Caption
- Bars for accuracy. After you click, STORC restores itself with a
- resource script matching your form in its editor.
-
- You can perform this operation for any number of forms; every time
- the resource script for the new form will be inserted into STORC
- editor at cursor.
-
- More about STORC editor:
-
- The STORC application is built around an editor; its main window
- is actually an edit field, and it has 'file' menu, 'edit' menu and
- 'find' menu provide basic functionality of a normal text editor.
- This was done to assist in easy modification of your script.
-
- Real-Life conversion options
-
- 'Options/TranslateClasses' menu item
-
- As you know, you have to specify a CLASSNAME for every in the DIALOG
- script. For example, you say
- CTEXT "Text", -1, 7, 9, 75, 17, WS_CHILD| WS_GROUP
- or (same thing):
- CONTROL "Text", -1, "STATIC", WS_CHILD | WS_GROUP | SS_CENTER,
- 7, 9, 75, 17
-
- Many of the tools define their own control styles; for example
- Visual Basic 1.0 defines custom control classes like "ThunderLabel"
- or "ThunderListbox", etc.
- If you decide to convert a form with custom controls to resources and
- then run then from your program, you are likely to get into trouble.
- You either have to use the custom control DLLs you tool uses(and use
- them exactly as they were designed to be used) or provide a substitute
- for custom controls, mapping their classes into standard Windows
- control classes or your own classes.
-
- STORC 1.0 gives you both options, controlled by
- 'Options/TranslateClasses' menu item. When this menu item is checked,
- the control classes will be translated as defined in [class translation]
- section of STORC.INI file(described below).
- Otherwise you will see the original class names(which can be an
- educational experience).
-
- 'Options/InterpretStyles' menu option
-
- A window style is a LONG integer value associated with a window.
- It is logically divided into 2 words; high word contains WS_-type
- styles shared by all window types. Low word is window-specific,
- and its meaning is dependent on window class.
- If 'Options/InterpretStyles' is checked, STORC will make an attempt
- to interpret BOTH parts of window style; of course it only knows
- about styles of standard controls, so it will not interpret the lower
- word of the window style unless 'options/TranslateClasses' is on and
- it could map the control class into one of the standard classes.
- It however would by all means attempt to interpret WS_ styles.
- Uncheck this option if you would like to see a long integer for style
- with no interpretation attempt
-
- 'Options/Force Dlg Templates' menu option
-
- The DIALOG template allows you to specify CAPTION, CLASS and STYLE
- for the dialog itself. If this menu option is checked, STORC
- will get this information from the form window and put it into the
- dialog template it writes.
-
- However, you will have to register the dialog class to use the
- resulting template; the custom class dialog style can be improperly
- interpreted, and resulting dialog will be not usable unless you
- modify it.
-
- We decided to provide 'default' dialog template that definitely will
- compile and run from any user's program. Check this option to
- force the 'standard' template.
-
- Configuration File Format:
-
- STORC uses the configuration file STORC.INI. The file has to be in
- the DOS PATH.
- Here is a sample INI file with comments:
-
- ;STORC window coordinates (at time of last close):
-
- [rectangle]
-
- left=0
- top=0
- right=640
- bottom=480
-
- ;last 'options' menu parameters (at time of last close):
-
- [options]
-
- Translate Classes=0
- Interpret Styles=1
- Force Standard Templates=0
-
- ; classname translation
- ; (this section will be used if 'Translate Classes' option is ON
- ; every key is a 'custom' classname, and its value specifies how
- ; it will be translated. All translations by default map into
- ; standard Windows control classes, but you can change it so that
- ; they map into YOUR custom classes, e.g. if you implement a
- ; class 'BetterListbox' as an equivalent to Visual Basic
- ; 'ThunderListbox' class, change corresponding line to
- ; "ThunderListbox=BetterListbox"
-
- [classname translation]
-
- ;Visual Basic custom classes
-
- ThunderLabel=text
- ThunderListbox=listbox
- ThunderTimer=button
- ThunderTextBox=edit
- ThunderCheckBox=button
- ThunderOptionButton=button
- ThunderDriveListBox=listbox
- ThunderDirListBox=listbox
- ThunderFileListBox=listbox
- ThunderFrame=button
- ThunderCommandButton=button
- ThunderComboBox=combobox
- ThunderHScrollBar=scrollbar
- ThunderVScrollBar=scrollbar
- ThunderPictureBox=button
-
- ;Object Vision custom classes
- OVButton=button
- OVSubBar=button
- OVToolBar=button
-
- ;end of STORC.INI
-
- Terms: This package is a DEMO of STORC 1.0, not the actual product!
- There are indeed some features disabled, and the purpose of
- this demo is to show you WHAT the actual program does,
- HOW it does it and WHAT does the result look like.
- If you realize this is what you want, you are welcome to buy
- the actual program.
-
-
- How to Get the Real Thing:
-
- Just print out the order form (below) and send with a check to:
-
- PractiSys
- 4767 Via Bensa
- Agoura, CA 91301
-
- CIS: 72010,567 (orders only, please)
-
- We are time-conscious and will mail you your copy on receipt of
- your check.
-
- As an option, we can also E-MAIL you a copy using CompuServe mail.
-
- Order Form:
-
- Yes, I want STORC 1.0.
-
- Name_________________________________ STORC 1.0 .........$10.00
- Phone(optional) ( )___-____ ext____ CA Tax.............$ _.__
- Street_______________________________ Shipping/handling..$ 2.00
- City______________State__ Zip________ =========================
- Total enclosed.....$__.__
-
- Thank you for your order!
-
- **+**
-
- Disclaimer:
- PractiSys disclaims all the warranties relating to this
- software, whether express or implied, including but not
- limited to any implied warranties of merchantability and
- fitness for a particular purpose, and all such warranties
- are expressly and specifically disclaimed.
- Neither PractiSys, nor anyone else who has been involved
- in the creation, production or delivery of this software
- shall be liable for any indirect, consequential, or
- incidental damages arising out of use or inability to use
- such software even if PractiSys has been advised of the
- possibility of such damages or claims. In no event shall
- the PractiSys' liability for any damages ever exceed the
- price paid for the license to use the software.
- Regardless of the form of claim, the person using the
- software bears all risk as to the quality and performance
- of the software.
- Some states do not allow the exclusion of the limit of
- liability for consequential or incidental damages, so the
- above limitation may not imply to you.
- The agreement shall be governed by laws of state of
- California. Any action or proceeding brought by either
- party against the other arising out of or related to this
- agreement shall be brought only in a STATE or FEDERAL COURT
- of competent jurisdiction located in Ventura County,
- California.
-
- --*--
-
- File name: STORC10.EXE Archive: LHA SFX
- Program name: STORC Version: 1.0D
- Classification: DEMOWARE Registration Fee: $10
-
- Publisher: PractiSys, 4767 Via Bensa, Agoura, CA 91301
-
- Packing List:
-
- STORC.EXE - main program
- STORC.RME - this 'README' file
- STORC.INI - STORC configuration file
-
- Keywords:
-
- Windows, VisualBasic, ObjectVision, Resource, Form, Convert, Read
- RC, RES, STORC, Screen
-
- CONDITIONS UNDER WHICH THIS SOFTWARE CAN BE COPIED AND DISTRIBUTED:
-
- INDIVIDUALS can freely copy this software and share it with friends
-
- NON-PROFIT groups can distribute copies of this disk if they charge
- no more than $5 per copy.
-
- DEALERS and DISK DISTRIBUTORS must obtain a written permission prior
- to distributing copies of this software. They cannot charge more than
- $10 per disk containing a copy of this program.
-
- By no means can any vendor/distributor modify the contents of any
- file in this package. All files in the archive STORC10.EXE must be
- distributed together.
-
- All vendors/distributors will immediately stop selling/distributing
- the software upon written notice from PractiSys
-
-
-
-
- - End -
-