
1. Open the ResEditCall.exe program.
2. Click on the [Test Resource Editor>Resource] Menu

********                 OR                  *********

3. If your using ResEdit within AsmEdit open ResEdit from the Tool Menu

ResEditor can build a part of or a complete Resource file.
You don't need to do all of the three operations.

e.g. If you only need to create a Dialog, just create that
only.

=======================================================================
Resource Tab:
After each entry press create.
If you don't need to do anything else click the Build Tab
and select the Build the output to the edit control button.

=======================================================================
Menu Tab:
You can create multiple menus.
If you don't need to do anything else click the Build Tab
and select the Build the output to the edit control button.

=======================================================================
Dialog Tab:
Before you can draw any controls you must draw the dialog first.
After you have drawn all of the required controls press the [Save Dlg]
button.
Repeat the above step for additional Dialogs.
(You can create up to 32 dialogs per session)

You can clear the dialog(s) from memory either on the options Dialog
or the Load a .rc file Tab.

=======================================================================
Load a resource Tab:

You can select either a complete resource file or dialogs
from an executable or .res file.

1. Click on the Select A Resource File, select a file.
Note! There is a sample partial resource file in the
      SampleDlgs folder.

             ------ OR -------

2. Click on the Extract Dialogs From Binary Files.

**************** ALL Dialogs *****************
2a. Click on the Extract All Of The Dialogs.

************** Single Dialogs ****************
Select either the complete dialog header line or the
dialog name or ID (if no name) on the dialog header line.

2b. Click on the Extract A Selected Dialog.
You can repeat step 2b as many times as needed.

3. Select the Dialog Tab, open a dialog from the top ComboxBox.
Note! If the dialogs width or height is greater then that of the
      Form window you will see some jumping around, but it will
      settle down.  
4. Edit the dialog.
5. Click on the Save Dlg button.
6. Select the Build Tab.
7. Click on Build The Output File button.
8. For the time being you're going to have to copy and paste
   the dialog, later I'll give the user the option to update
   the dialog in the file the dialog was extracted from.

__________________________________________________________________________
Alignment - Size - Shift - Space - Tab Stops:

The Tab key will select the controls in tab stop sequence.
The Shift+Tab key will reverse the sequence.

Hold the Ctrl key down while making multiple selections.

The first selection is the key control or if you select a control
that has already been selected then that control will become the
key control.

Note!  For the Alignment operation DON'T mix the control selections from
       the Form window and a Groupbox or multiple Groupboxes.
       None of the operations will work for Groupbox's themselves, I'm
       working on it, it gets a little involved.

Note!  For the Space operation, you must select from top to bottom or
       left to right.

       To remove a single selections click in the control without the Ctrl key.
       To remove all of the selections click in the Form window.

KeyBoard input:

-------- [Single selection] --------

Left arrow   Move left
UP arrow     Move up
Right arrow  Move right
Down arrow   Move down

(Ctrl+the above will double space)

Alt+Left arrow   Decrease width
Alt+UP arrow     Decrease height
Alt+Right arrow  Increase width
Alt+Down arrow   Increase height

-------- [Multiple selections] --------

Left arrow   Move left
UP arrow     Move up
Right arrow  Move right
Down arrow   Move down

(Ctrl+the above will double space)

Alt+w        Set the width to the master
Alt+h        Set the height to the master
Alt+s        Set the width & height to the master
Alt+l        Align left   +l = (lower case L)
Alt+t        Align top
Alt+r        Align right
Alt+b        Align bottom
Alt+y        Set the vertical spaces
Alt+x        Set the horizontal spaces
Alt+u        Undo the last change
Alt+n        Renumber tab stops

Note! If you change a tab stop value, the other controls tab stops
for the dialog will automatically be renumbered.
__________________________________________________________________________


After the last [Save Dlg] click the Build Tab and select the Build the
output to the edit control button. If you have also created Resources and
or Menus they will be built also.

Note!  After each [Save Dlg] the Dialog name will be stored in the top ComboBox,
       that you can later extract to review that dialog.

       You can now wrap a Groupbox around existing controls and move the
       Groupbox and those controls will move with it.

       To move the GroupBox control you will need to click the [Move GrpBox]
       Checkbox on the Dialog Tab.

       Be careful with the Style selection, e.g. don't try to turn a 
       Listbox into a Button control. 

       To test the Date controls you will need to use the INITCOMMONCONTROLSEX
       in your application.

icc      INITCOMMONCONTROLSEX <?>
or
LOCAL    icc:INITCOMMONCONTROLSEX

         mov     icc.dwSize, sizeof INITCOMMONCONTROLSEX
         mov     icc.dwICC, ICC_LISTVIEW_CLASSES or ICC_TREEVIEW_CLASSES or\
                 ICC_TAB_CLASSES or ICC_BAR_CLASSES or ICC_COOL_CLASSES or ICC_DATE_CLASSES
      INVOKE     InitCommonControlsEx, addr icc

P.S.  ResEditor will be integrated into AsmEdit and will have the ability to
      edit an exsisting .rc file
 
