Hi,

I added a edit an existing dialog feature to the ResEdit program.

I finally got the second phase done, what a time I had trying to parse
different styles of dialogs.

You should be able to extract dialogs that were created with ResEdit or
RadAsm with no problem, and hopefully many other styles.

But I'm sure there will be some dialogs that will not work.

If you have a dialog or dialogs that will not extract
properly, send them to me and I will try to change the program.

NOTE! One restriction, each control in a dialog MUST be on a single line.
NO (, or \) continuation.

ResEdit can extract all of the dialogs from the AsmEdit resource file and
I think that file has about every type of dialogs you can think of.

There is a sample partial resource file in the SampleDlgs folder.
The first two dialogs were created with RadAsm and the next two
dialogs were created with ResEdit and the last one was created by hand.

P.S. You can extract up to 64 dialogs and a
max total of 512 controls from a resource file.

In the third phase I will integrate it into AsmEdit.

Read the Readme file.

Let me know how it works, or if you have any suggestions they will be considered.

Thanks,

Ewayne
Posted on 2002-02-04 15:42:57 by Ewayne
Hi Ewayne

Working great. :alright:

Bet you know what there is to know about string handling in asm now. :grin:

KetilO
Posted on 2002-02-04 20:21:06 by KetilO
To KetilO:

I don't know about knowing all there is to know
about string handling, I just readem and writem.

Ewayne
Posted on 2002-02-04 20:30:16 by Ewayne
bug?


hi
when i move a control ( item ) on the dialog the painting not good
(windows xp , p II 350)
Posted on 2002-02-05 11:02:44 by eko
To eko:

Strange, the program has been tested with many
different platforms including xp and this is the
first that I have reard of that problem.

I wonder if anyone is is having the same problem?

Do you have a painting problem if you just use
the green sizing handles?

Thanks,

Ewayne
Posted on 2002-02-05 12:27:01 by Ewayne
Hi Ewayne,

ResEdit works great on WinME !
I'm unable to duplicate eko's problem..repositioning/resizing/grouping all work as they're suppose to for me.

Thank you VERY MUCH for all the hard work and creativity you applied to this project.:alright:

gscundiff
Posted on 2002-02-05 12:31:25 by gscundiff
Hi Ewayne,

ResEdit works just fine on Windows 2000 Professional.

Good work :alright:

bye.

PiT
Posted on 2002-02-05 13:55:57 by PiT
To eko:

Was your system real low on resources when you
ran ResEdit?

How much memory do you have?

Ewayne
Posted on 2002-02-05 14:55:31 by Ewayne
To Gary and PiT:

Thanks for the feedback.

Ewayne
Posted on 2002-02-05 14:57:05 by Ewayne
hi

no .. the sytem wasnt on low resource .
i have 256 MB (memory)
i ran it again . the same problem i dont know why .

i also saw something else . when you run the program . create a new dialog and push alt +tab you get like 10 windows more than before ..


bye

eko
Posted on 2002-02-06 07:05:26 by eko
To eko:

The program is not designed to use system or
special keys, their use could bring unpredicted
results, I'll add the use of function and special
keys later.

I could fix your painting problem by redrawing
the control everytime you move it, but I don't
know why I have to do it just for your maching.

I'll send you a test program to see if that fixes
your problem.

Thanks,

Ewayne
Posted on 2002-02-06 07:22:28 by Ewayne
To eko:

With your move paint problem, does the control
repaint after you lift the left mouse key?

If not, does it repaint if you just click on it?

Do you have a painting problem if you just size
the control?

Thanks,

Ewayne
Posted on 2002-02-06 08:30:31 by Ewayne
1 . yes the control repaint
2. yeah i have the same bug when resizing


bye

eko
Posted on 2002-02-08 05:30:42 by eko
Hi Ewayne

Here is a bug you should be able to recreate.

1. Draw a dialog
2. Draw a groupbox
3. Draw a button inside groupbox
4. Draw a 2nd button inside groupbox.
5. Delete 2nd button by rclick.
6. Delete 1st button by rclick.
7. Delete groupbox by rclick.

You get a GPF.

It does a lot of GPF's and strange behavior, but this is the only one I have been able to always recreate.

KetilO
Posted on 2002-02-08 06:14:23 by KetilO
Here is another one.

Draw a groupbox inside a groupbox.

KetilO
Posted on 2002-02-08 06:30:18 by KetilO
This is the last, I promise.

Multiselect the same control more than once. Should it not make this control the master instead of multiselecting it again, and deselect it if it alredy is the master?

KetilO
Posted on 2002-02-08 06:42:18 by KetilO
To KetilO:

The delete (Ctrl, Ctrl, etc., Groupbox) bug is fixed.

The situation with drawing a Groupbox within a
Groupbox was not part of the programs design, I
meant to not allow the user to do that, but I
forgot, I have just made that change.

The complexity to do a Groupbox within a Groupbox
and handle it's controls is a rainy day project.

The complexity comes from, each Groupbox has it's
own base parent and each Groupbox is the parent
for it's controls. It's designed that way so if
you move or delete a Groupbox it's controls go
with it.

If there is enough request for a Groupbox within
a Groupbox i'll do it.

The changes will be included when I post the
ResEdit phase II source.

Thanks,

Ewayne
Posted on 2002-02-08 10:36:24 by Ewayne
To KetilO:

Don't stop, keep the bugs and or suggestions
comming.

Multiselect the same control more than once. Should it not make this control the master instead of multiselecting it again, and deselect it if it alredy is
the master?


The program was designed to have first selection
as the master mainly for the space feature, to
make sure the user has selected the proper sequence.
Otherwise the controls position could be a mess.

I've changed the program so that if a control has
been selected for multiselection and it's selected
again with the Ctrl key down it will become the master.

But use it with caution if your going to do the
space feature after without reselection, because
you could move the control(s) out of the Groupbox
or off of the Form.

At present the only way you can bring them back is to
use the Listbox for the control(s) and change the
position. On another rainy day I'll put in an undo
feature.

To deselect a control from a multiselection list
just select it without the Ctrl key.

The above change will be included in the ResEdit
Phase II source.

Thanks,

Ewayne
Posted on 2002-02-08 12:22:08 by Ewayne
To eko:

I'm becomming stumped with your paint problem.

There's been over 170 downloads of ResEdit and so
far your the only one that's having a paint
problem.

Do you have a paint problem with KetilO's dialog
editor?

I'm sure we're doing the moving and sizing about
the same way.

Maybe someone out there can give me a clue on
your problem.

Thanks,

Ewayne
Posted on 2002-02-08 12:35:53 by Ewayne
hii
yeah i have a paint problem in radasm too
Posted on 2002-02-09 08:24:08 by eko