Hi all,

I made some changes to ResEdit.

The program will now retain the dialog styles
and the define ID numbers from the dialog

I also added a couple dozen keyboard inputs for
moving and sizing the controls, plus an undo
for the last change.

Read the readme file.



1. Found a minor bug and updated ResEdit on this post.

2. Fixed the did not press the enter key bug,
ResEdit is updated on this post.
Previous downloads 149.
Posted on 2002-02-25 20:43:48 by Ewayne
Thanks Ewayne,

Picks up all my ID numbers and dialog styles now and the UNDO is (sadly) much needed in my programming style :) ..it works great!
Posted on 2002-02-26 04:14:17 by gscundiff
Hi Ewayne

ResEdit is growing into a serious tool. :alright:

A little bug:

1. Draw a dialog
2. Draw a button
3. Change the name of the button (don't press enter)
4. Click on the dialog.

The button dissapears into the blue, and you have to set size / pos manually.

You should find a way to update w/o pressing enter, as I am shure a lot will forget this once in a while.

Posted on 2002-02-26 05:08:20 by KetilO
Hmmm...I could not recreate KetilO's problem on WinME.
Posted on 2002-02-26 05:16:46 by gscundiff
To Gary:


To KetilO:

I've spent the past couple of hours trying to get
the control to go into the wild blue yonder if
the user made a change and did not press the enter
key and then clicked on the dialog.

Was the x and y position a minus or plus value?
Were you using a XP machine?

If the user didn't press the enter key, the changes
will be reflected after the build.

I will still try to duplicate the problem.

But anyhow I've made a change, if the user makes
a change to the control and does not press the
enter key, the control will get updated if the user:

1. Selects a different update field.
2. Selects a different control from the Combobox.
3. Selects a different dialog from the Combobox.
4. Moves the cursor over the dialog.

The updated ResEdit is on this thread.


Posted on 2002-02-26 11:09:25 by Ewayne
Hi Ewayne

I was using Win98SE. After it happened the button vas posistioned at som -250, width 1 and height 0.
I was not able to make it happend more than once, but I am pretty sure I did as described. I will have a look at the last ResEdit also.

Posted on 2002-02-26 11:35:13 by KetilO
Hi Ewayne

Would have been nice to have some help with the tab order setting. As it is now it is like hell if you add a control and want it in the middle of the tab order.

1. Tab key moves to next control in the tab order. Very useful to check correct tab order.
2. Auto renumbering if you change a tab index.

Posted on 2002-02-27 06:46:49 by KetilO
To KetilO:

Tab renumbering and selection was on my todo list,
but somehow it got overlooked.

I'll put that in.


Posted on 2002-02-27 07:04:02 by Ewayne
Congratulations on finishing the keyboard and Ids saving features
It made ResEdit more powerfull.

I not this -
For the first time if don't selected control with red dot yet (ctrl click) you can manipulate selected (with green) controls with keyboard.
After you at least once select them (red dot) your can only move
them with keyboard when they are selected with red. And can not do it if they selected with green.
If I'm not clear here is step by step expirement
- Create dlg and edit on it
- Select edit
- Move it with keyboard
-Now select it by red dot
- Move it with keyboard
- Select again in green
- You can not move it with keyboard anymore
- Select it again with red - it's moved with keyboard OK.
But green selected can not be moved by keyboard anymore.
Posted on 2002-02-27 18:06:21 by The Svin
Another thing.
I removed default name for control and saved dlg.
Then when I noticed that I forget to type name of my choice
I tried to do it (to fill the name field) but wasn't able to.
Name was being typed OK, but as soon as I set focus to another
field it would disapeared again. And in combobox for control name selection an empty field remains for the control.

One thing more:
It would be usefull if it is possible to select another control using only keyboard (for example using tab).
Why I so many talk about keyboard is that using mouse even for
click one can accidently shift control (performing unwilling drag drop 'cause of hand shake :)
And if there many controls it need special attention to control that
you haven't done some little (for the first glance unvisible) shift.
Keyboard manipulations is something more relaible, and more precise.
Posted on 2002-02-27 19:08:13 by The Svin
One more thing:
National fonts
I created rc in ResEdit with captions of controls in Russian.
All looks OK, but when I load this rc again all characters were
those funny simbols, you know.
In addition ID number for the first edit control wasn't retrieved correctly.

One more thing I created rc and save it.
Then without closing ResEdit I reload saved rc (but after I saved
it I changed it a little bit (mostly names for IDs - to fill value of
one ID (I wrote - I couldn't do it in ResEd it didn't add new name for ID)) but left name for Dlg unchanged.
After I did dlg extraction - ResEdit reported that 1 dlg was extracted.
But when I choose it in dlg tab - it was the same dlg that was
before I changed the rc.
To recreate my problem
- Create dlg
- Save as rc
- Don't close ResEd but load rc again
- Extract dlg
- Now go to dlg tab choose name for extracted dlg
You can see that it not that dlg that was extracted but same dlg
that was in ResEdit before you changed rc.

There need to be a way how delete dlgs from ResEdit
Posted on 2002-02-27 20:40:43 by The Svin
Here is illustation (rc file) for my previous post.
Seems nubmer of spaces confuse you programm
and it therefor can not correctly extract one ID of control
Posted on 2002-02-28 20:26:06 by The Svin
Here is a file I forget to attach.
Hero, why can not I attach file while editing.
It's the second time when I forgetting to attach file I'd intended to. And for both cases I needed to post additional msg instead of just attaching it while editing.
My be I do something wrong and there is a way to attach file while editing?
Then teach me, please.
Posted on 2002-02-28 20:31:11 by The Svin
To The Svin:

I have all of your problems fixed except the
different language font conversion, I might
need some help there.

The problem with the first ID number not being
extracted is because the define ID name was
preceded with tab stops, not spaces I've changed
the program to check for tab stops also.

If a dialog is in memory and you extract another
dialog with the same name or the same dialog, I
will give the user a choice of either:

1. Delete the dialog in memory.
2. Change the name of the extracted dialog.
3. Not load the extracted dialog.

Or does anyone have any other ideas.

The reason I don't clear memory before the
extraction, is because the user might want to
extract several dialogs from different files to
build a new resource file.

Let me know what you think so I can post the
updated ResEdit.


Posted on 2002-02-28 23:52:04 by Ewayne
I like your decision.
Please, post new version.
Posted on 2002-03-01 00:01:36 by The Svin
Have I missed a new version or it hasn't been sent yet?
Posted on 2002-03-01 12:30:29 by The Svin
Hi all,

I think I have fixed all of (The Svin) concerns,
except for the font language conversion.

Plus I've added tab stop features, you can
renumber the tab stops using the multiple
selection and if you update a controls tab stop
the rest of the controls for the dialog will be

The Tab key will select the controls in tab stop

Note! For the Tab key to work the cursor must be
somewhere within the dialog.

Read the readme file.


Previous lownloads 42.
Posted on 2002-03-01 23:33:33 by Ewayne

Well done!
My work with ResEdit has been speeded up a lot.
Now I'm going to risk to forget about other tools I use in my work
to create rc and switch to ResEdit at least for a while.
So you wouldn't feel lack for feedback at least in near future :)

1. Assuming usual project scenario we need to find and load needed rc files
as fast as possible.
What can be done in the issue:
- Command line param with name of rc file so that we
- Can associate rc files with ResEdit
- Load rc files by a double click or calling the app from another shell
passing a rc file name as param.
- Remeber last file(files) name(s) so we can load it from menu

2. Orient ResEdit as main tool and free programmers from needless work.

- Make it stand along executable. The less windows user have on a screen
the better he can control it. To make for him nessesaty to keep additional
(ResEdit loader) window on a screen seems to be needless waste of his
sico resources :)
- Make "equ part" in separate window
- He wouldn't need to remove manualy this part from buit rc file each time
he need to make just a little changes and save created file.
- Make Save-replace as main save fiture so user doesn't need each time answer on
the question "file already exits. Replace it?". In most cases if it is main tool
(don't be afraid to make it a main tool - I know you are able to bring it to the
level) he'd wish to replace it. For saving it as separate file would be better
to make additional button and this button would carry the curren job of save
(check if file exist; ask if it need to be replaced etc.)

It is just a begining. From my practice I can say that many great tools with many
great fitures died 'cause a little to do details but imporant for user had not been
counted while disigning the tools.

Good luck.
Don't stop and your tool will have a great future.
Posted on 2002-03-02 11:34:39 by The Svin
- Create new static control
- Fill text field with long text (so that text wraped)
The control stopps to be selected by tab navigation selection
Also the text is trancuted in output.
Posted on 2002-03-02 12:02:43 by The Svin
I noticed that text of control truncated if text > 32 characters.
It's wrong.
A lot of usual lables may be a little bit more than 32 symbols
Posted on 2002-03-02 12:14:01 by The Svin